| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/lib2to3/fixes/__pycache__/ |
Upload File : |
o
��bcb
� @ sN d Z ddlZddlmZ ddlmZmZmZm Z dd� Z
G dd� dej�ZdS ) a� Fixer for operator functions.
operator.isCallable(obj) -> callable(obj)
operator.sequenceIncludes(obj) -> operator.contains(obj)
operator.isSequenceType(obj) -> isinstance(obj, collections.abc.Sequence)
operator.isMappingType(obj) -> isinstance(obj, collections.abc.Mapping)
operator.isNumberType(obj) -> isinstance(obj, numbers.Number)
operator.repeat(obj, n) -> operator.mul(obj, n)
operator.irepeat(obj, n) -> operator.imul(obj, n)
� N)�
fixer_base)�Call�Name�String�touch_importc s � fdd�}|S )Nc s
� | _ | S �N)�
invocation)�f��s� �1/usr/lib/python3.10/lib2to3/fixes/fix_operator.py�dec s zinvocation.<locals>.decr )r r r r
r
r s r c @ s� e Zd ZdZdZdZdZdeeed� Zdd� Z e
d �d
d� �Ze
d�d
d� �Ze
d�dd� �Z
e
d�dd� �Ze
d�dd� �Ze
d�dd� �Ze
d�dd� �Zdd� Zd d!� Zd"d#� Zd$S )%�FixOperatorT�prez�
method=('isCallable'|'sequenceIncludes'
|'isSequenceType'|'isMappingType'|'isNumberType'
|'repeat'|'irepeat')
z'(' obj=any ')'z�
power< module='operator'
trailer< '.' %(methods)s > trailer< %(obj)s > >
|
power< %(methods)s trailer< %(obj)s > >
)�methods�objc C s"