[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.226.93.177: ~ $
U

��,ab
�@sNdZddlZddlmZddlmZmZmZm	Z	dd�Z
Gdd�dej�ZdS)	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_importcs�fdd�}|S)Ncs
�|_|S�N)�
invocation)�f��s��?/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_operator.py�decszinvocation.<locals>.decr)rrrr
r
rsrc@s�eZdZdZdZdZdZdeeed�Zdd�Z	e
d	�d
d��Ze
d�d
d��Ze
d�dd��Z
e
d�dd��Ze
d�dd��Ze
d�dd��Ze
d�dd��Zdd�Zd d!�Zd"d#�Zd$S)%�FixOperatorTZprez�
              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�objcCs"|�||�}|dk	r|||�SdSr)�
_check_method)�self�node�results�methodrrr
�	transform+szFixOperator.transformzoperator.contains(%s)cCs|�||d�S)N�contains��_handle_rename�rrrrrr
�_sequenceIncludes0szFixOperator._sequenceIncludeszcallable(%s)cCs"|d}ttd�|��g|jd�S)Nr�callable��prefix)rr�cloner)rrrrrrr
�_isCallable4szFixOperator._isCallablezoperator.mul(%s)cCs|�||d�S)N�mulrrrrr
�_repeat9szFixOperator._repeatzoperator.imul(%s)cCs|�||d�S)N�imulrrrrr
�_irepeat=szFixOperator._irepeatz(isinstance(%s, collections.abc.Sequence)cCs|�||dd�S)N�collections.abc�Sequence��_handle_type2abcrrrr
�_isSequenceTypeAszFixOperator._isSequenceTypez'isinstance(%s, collections.abc.Mapping)cCs|�||dd�S)Nr&�Mappingr(rrrr
�_isMappingTypeEszFixOperator._isMappingTypezisinstance(%s, numbers.Number)cCs|�||dd�S)NZnumbers�Numberr(rrrr
�
_isNumberTypeIszFixOperator._isNumberTypecCs|dd}||_|��dS)Nrr)�valueZchanged)rrr�namerrrr
rMszFixOperator._handle_renamecCsFtd||�|d}|��tdd�||g��g}ttd�||jd�S)Nrz, �.�
isinstancer)rr r�joinrrr)rrr�module�abcr�argsrrr
r)RszFixOperator._handle_type2abccCs^t|d|ddj�}t|tjj�rZd|kr2|St|d�f}|j|}|�|d|�dS)N�_rrr4rzYou should use '%s' here.)	�getattrr/r2�collectionsr5�Callable�strrZwarning)rrrr�subZinvocation_strrrr
rXs
zFixOperator._check_methodN)�__name__�
__module__�__qualname__Z
BM_compatible�orderrr�dictZPATTERNrrrr!r#r%r*r,r.rr)rrrrr
rs2
�






r)
�__doc__Zcollections.abcr9Zlib2to3rZlib2to3.fixer_utilrrrrrZBaseFixrrrrr
�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 150 B 0644
__init__.cpython-38.opt-2.pyc File 150 B 0644
__init__.cpython-38.pyc File 150 B 0644
fix_apply.cpython-38.opt-1.pyc File 1.62 KB 0644
fix_apply.cpython-38.opt-2.pyc File 1.54 KB 0644
fix_apply.cpython-38.pyc File 1.65 KB 0644
fix_asserts.cpython-38.opt-1.pyc File 1.26 KB 0644
fix_asserts.cpython-38.opt-2.pyc File 1.19 KB 0644
fix_asserts.cpython-38.pyc File 1.26 KB 0644
fix_basestring.cpython-38.opt-1.pyc File 671 B 0644
fix_basestring.cpython-38.opt-2.pyc File 626 B 0644
fix_basestring.cpython-38.pyc File 671 B 0644
fix_buffer.cpython-38.opt-1.pyc File 816 B 0644
fix_buffer.cpython-38.opt-2.pyc File 747 B 0644
fix_buffer.cpython-38.pyc File 816 B 0644
fix_dict.cpython-38.opt-1.pyc File 3.2 KB 0644
fix_dict.cpython-38.opt-2.pyc File 2.32 KB 0644
fix_dict.cpython-38.pyc File 3.26 KB 0644
fix_except.cpython-38.opt-1.pyc File 2.76 KB 0644
fix_except.cpython-38.opt-2.pyc File 2.32 KB 0644
fix_except.cpython-38.pyc File 2.76 KB 0644
fix_exec.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_exec.cpython-38.opt-2.pyc File 965 B 0644
fix_exec.cpython-38.pyc File 1.13 KB 0644
fix_execfile.cpython-38.opt-1.pyc File 1.64 KB 0644
fix_execfile.cpython-38.opt-2.pyc File 1.51 KB 0644
fix_execfile.cpython-38.pyc File 1.67 KB 0644
fix_exitfunc.cpython-38.opt-1.pyc File 2.26 KB 0644
fix_exitfunc.cpython-38.opt-2.pyc File 2.19 KB 0644
fix_exitfunc.cpython-38.pyc File 2.26 KB 0644
fix_filter.cpython-38.opt-1.pyc File 2.39 KB 0644
fix_filter.cpython-38.opt-2.pyc File 1.95 KB 0644
fix_filter.cpython-38.pyc File 2.39 KB 0644
fix_funcattrs.cpython-38.opt-1.pyc File 984 B 0644
fix_funcattrs.cpython-38.opt-2.pyc File 916 B 0644
fix_funcattrs.cpython-38.pyc File 984 B 0644
fix_future.cpython-38.opt-1.pyc File 792 B 0644
fix_future.cpython-38.opt-2.pyc File 689 B 0644
fix_future.cpython-38.pyc File 792 B 0644
fix_getcwdu.cpython-38.opt-1.pyc File 796 B 0644
fix_getcwdu.cpython-38.opt-2.pyc File 730 B 0644
fix_getcwdu.cpython-38.pyc File 796 B 0644
fix_has_key.cpython-38.opt-1.pyc File 2.85 KB 0644
fix_has_key.cpython-38.opt-2.pyc File 2.29 KB 0644
fix_has_key.cpython-38.pyc File 2.88 KB 0644
fix_idioms.cpython-38.opt-1.pyc File 3.76 KB 0644
fix_idioms.cpython-38.opt-2.pyc File 3.28 KB 0644
fix_idioms.cpython-38.pyc File 3.84 KB 0644
fix_import.cpython-38.opt-1.pyc File 2.73 KB 0644
fix_import.cpython-38.opt-2.pyc File 2.43 KB 0644
fix_import.cpython-38.pyc File 2.73 KB 0644
fix_imports.cpython-38.opt-1.pyc File 4.3 KB 0644
fix_imports.cpython-38.opt-2.pyc File 4.24 KB 0644
fix_imports.cpython-38.pyc File 4.3 KB 0644
fix_imports2.cpython-38.opt-1.pyc File 554 B 0644
fix_imports2.cpython-38.opt-2.pyc File 453 B 0644
fix_imports2.cpython-38.pyc File 554 B 0644
fix_input.cpython-38.opt-1.pyc File 958 B 0644
fix_input.cpython-38.opt-2.pyc File 889 B 0644
fix_input.cpython-38.pyc File 958 B 0644
fix_intern.cpython-38.opt-1.pyc File 1.12 KB 0644
fix_intern.cpython-38.opt-2.pyc File 1.05 KB 0644
fix_intern.cpython-38.pyc File 1.12 KB 0644
fix_isinstance.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_isinstance.cpython-38.opt-2.pyc File 1.21 KB 0644
fix_isinstance.cpython-38.pyc File 1.52 KB 0644
fix_itertools.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_itertools.cpython-38.opt-2.pyc File 1.17 KB 0644
fix_itertools.cpython-38.pyc File 1.52 KB 0644
fix_itertools_imports.cpython-38.opt-1.pyc File 1.51 KB 0644
fix_itertools_imports.cpython-38.opt-2.pyc File 1.43 KB 0644
fix_itertools_imports.cpython-38.pyc File 1.55 KB 0644
fix_long.cpython-38.opt-1.pyc File 713 B 0644
fix_long.cpython-38.opt-2.pyc File 649 B 0644
fix_long.cpython-38.pyc File 713 B 0644
fix_map.cpython-38.opt-1.pyc File 3.03 KB 0644
fix_map.cpython-38.opt-2.pyc File 2.25 KB 0644
fix_map.cpython-38.pyc File 3.03 KB 0644
fix_metaclass.cpython-38.opt-1.pyc File 5.19 KB 0644
fix_metaclass.cpython-38.opt-2.pyc File 3.84 KB 0644
fix_metaclass.cpython-38.pyc File 5.23 KB 0644
fix_methodattrs.cpython-38.opt-1.pyc File 946 B 0644
fix_methodattrs.cpython-38.opt-2.pyc File 870 B 0644
fix_methodattrs.cpython-38.pyc File 946 B 0644
fix_ne.cpython-38.opt-1.pyc File 819 B 0644
fix_ne.cpython-38.opt-2.pyc File 774 B 0644
fix_ne.cpython-38.pyc File 819 B 0644
fix_next.cpython-38.opt-1.pyc File 2.99 KB 0644
fix_next.cpython-38.opt-2.pyc File 2.93 KB 0644
fix_next.cpython-38.pyc File 3.02 KB 0644
fix_nonzero.cpython-38.opt-1.pyc File 931 B 0644
fix_nonzero.cpython-38.opt-2.pyc File 872 B 0644
fix_nonzero.cpython-38.pyc File 931 B 0644
fix_numliterals.cpython-38.opt-1.pyc File 1.01 KB 0644
fix_numliterals.cpython-38.opt-2.pyc File 969 B 0644
fix_numliterals.cpython-38.pyc File 1.01 KB 0644
fix_operator.cpython-38.opt-1.pyc File 4.13 KB 0644
fix_operator.cpython-38.opt-2.pyc File 3.66 KB 0644
fix_operator.cpython-38.pyc File 4.13 KB 0644
fix_paren.cpython-38.opt-1.pyc File 1.37 KB 0644
fix_paren.cpython-38.opt-2.pyc File 1.23 KB 0644
fix_paren.cpython-38.pyc File 1.37 KB 0644
fix_print.cpython-38.opt-1.pyc File 2.22 KB 0644
fix_print.cpython-38.opt-2.pyc File 1.94 KB 0644
fix_print.cpython-38.pyc File 2.3 KB 0644
fix_raise.cpython-38.opt-1.pyc File 2.21 KB 0644
fix_raise.cpython-38.opt-2.pyc File 1.6 KB 0644
fix_raise.cpython-38.pyc File 2.21 KB 0644
fix_raw_input.cpython-38.opt-1.pyc File 803 B 0644
fix_raw_input.cpython-38.opt-2.pyc File 736 B 0644
fix_raw_input.cpython-38.pyc File 803 B 0644
fix_reduce.cpython-38.opt-1.pyc File 1.11 KB 0644
fix_reduce.cpython-38.opt-2.pyc File 1006 B 0644
fix_reduce.cpython-38.pyc File 1.11 KB 0644
fix_reload.cpython-38.opt-1.pyc File 1.13 KB 0644
fix_reload.cpython-38.opt-2.pyc File 1.06 KB 0644
fix_reload.cpython-38.pyc File 1.13 KB 0644
fix_renames.cpython-38.opt-1.pyc File 1.97 KB 0644
fix_renames.cpython-38.opt-2.pyc File 1.89 KB 0644
fix_renames.cpython-38.pyc File 1.97 KB 0644
fix_repr.cpython-38.opt-1.pyc File 853 B 0644
fix_repr.cpython-38.opt-2.pyc File 789 B 0644
fix_repr.cpython-38.pyc File 853 B 0644
fix_set_literal.cpython-38.opt-1.pyc File 1.65 KB 0644
fix_set_literal.cpython-38.opt-2.pyc File 1.58 KB 0644
fix_set_literal.cpython-38.pyc File 1.65 KB 0644
fix_standarderror.cpython-38.opt-1.pyc File 728 B 0644
fix_standarderror.cpython-38.opt-2.pyc File 674 B 0644
fix_standarderror.cpython-38.pyc File 728 B 0644
fix_sys_exc.cpython-38.opt-1.pyc File 1.39 KB 0644
fix_sys_exc.cpython-38.opt-2.pyc File 1.22 KB 0644
fix_sys_exc.cpython-38.pyc File 1.39 KB 0644
fix_throw.cpython-38.opt-1.pyc File 1.77 KB 0644
fix_throw.cpython-38.opt-2.pyc File 1.55 KB 0644
fix_throw.cpython-38.pyc File 1.77 KB 0644
fix_tuple_params.cpython-38.opt-1.pyc File 4.49 KB 0644
fix_tuple_params.cpython-38.opt-2.pyc File 4.17 KB 0644
fix_tuple_params.cpython-38.pyc File 4.49 KB 0644
fix_types.cpython-38.opt-1.pyc File 1.8 KB 0644
fix_types.cpython-38.opt-2.pyc File 1.34 KB 0644
fix_types.cpython-38.pyc File 1.8 KB 0644
fix_unicode.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_unicode.cpython-38.opt-2.pyc File 1.35 KB 0644
fix_unicode.cpython-38.pyc File 1.52 KB 0644
fix_urllib.cpython-38.opt-1.pyc File 5.87 KB 0644
fix_urllib.cpython-38.opt-2.pyc File 5.32 KB 0644
fix_urllib.cpython-38.pyc File 5.87 KB 0644
fix_ws_comma.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_ws_comma.cpython-38.opt-2.pyc File 941 B 0644
fix_ws_comma.cpython-38.pyc File 1.1 KB 0644
fix_xrange.cpython-38.opt-1.pyc File 2.48 KB 0644
fix_xrange.cpython-38.opt-2.pyc File 2.42 KB 0644
fix_xrange.cpython-38.pyc File 2.48 KB 0644
fix_xreadlines.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_xreadlines.cpython-38.opt-2.pyc File 1002 B 0644
fix_xreadlines.cpython-38.pyc File 1.1 KB 0644
fix_zip.cpython-38.opt-1.pyc File 1.55 KB 0644
fix_zip.cpython-38.opt-2.pyc File 1.23 KB 0644
fix_zip.cpython-38.pyc File 1.55 KB 0644