$39 GRAYBYTE WORDPRESS FILE MANAGER $78

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python36/lib64/python3.6/lib2to3/fixes/__pycache__/

HOME
Current File : /opt/alt/python36/lib64/python3.6/lib2to3/fixes/__pycache__//fix_has_key.cpython-36.pyc
3

� f|�@sBdZddlmZddlmZddlmZmZGdd�dej�ZdS)a&Fixer for has_key().

Calls to .has_key() methods are expressed in terms of the 'in'
operator:

    d.has_key(k) -> k in d

CAVEATS:
1) While the primary target of this fixer is dict.has_key(), the
   fixer will change any has_key() method call, regardless of its
   class.

2) Cases like this will not be converted:

    m = d.has_key
    if m(k):
        ...

   Only *calls* to has_key() are converted. While it is possible to
   convert the above to something like

    m = d.__contains__
    if m(k):
        ...

   this is currently not done.
�)�pytree)�
fixer_base)�Name�parenthesizec@seZdZdZdZdd�ZdS)�	FixHasKeyTa�
    anchor=power<
        before=any+
        trailer< '.' 'has_key' >
        trailer<
            '('
            ( not(arglist | argument<any '=' any>) arg=any
            | arglist<(not argument<any '=' any>) arg=any ','>
            )
            ')'
        >
        after=any*
    >
    |
    negation=not_test<
        'not'
        anchor=power<
            before=any+
            trailer< '.' 'has_key' >
            trailer<
                '('
                ( not(arglist | argument<any '=' any>) arg=any
                | arglist<(not argument<any '=' any>) arg=any ','>
                )
                ')'
            >
        >
    >
    c

Cs�|st�|j}|jj|jkr.|jj|j�r.dS|jd�}|d}|j}dd�|dD�}|dj	�}|jd�}	|	r�dd�|	D�}	|j|j
|j|j|j|j
|j|jfkr�t|�}t|�d	kr�|d
}ntj|j|�}d|_tddd
�}
|�rtddd
�}tj|j||
f�}
tj|j
||
|f�}|	�rBt|�}tj|j|ft|	��}|jj|j
|j|j|j|j|j|j|j|jf	k�r|t|�}||_|S)N�negation�anchorcSsg|]}|j��qS�)�clone)�.0�nr	r	�>/opt/alt/python36/lib64/python3.6/lib2to3/fixes/fix_has_key.py�
<listcomp>Rsz'FixHasKey.transform.<locals>.<listcomp>�before�arg�aftercSsg|]}|j��qSr	)r
)rrr	r	r
rVs��� �in)�prefix�not)�AssertionError�syms�parent�typeZnot_test�pattern�match�getrr
Z
comparisonZand_testZor_testZtestZlambdefZargumentr�lenrZNodeZpowerrZcomp_op�tuple�exprZxor_exprZand_exprZ
shift_exprZ
arith_exprZtermZfactor)
�selfZnodeZresultsrrrrrrrZn_opZn_not�newr	r	r
�	transformGsF


zFixHasKey.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr$r	r	r	r
r&srN)	�__doc__�rrZ
fixer_utilrrZBaseFixrr	r	r	r
�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-36.opt-1.pyc
0.139 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.opt-2.pyc
0.125 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.pyc
0.139 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_apply.cpython-36.opt-1.pyc
1.625 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_apply.cpython-36.opt-2.pyc
1.523 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_apply.cpython-36.pyc
1.65 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_asserts.cpython-36.opt-1.pyc
1.235 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_asserts.cpython-36.opt-2.pyc
1.153 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_asserts.cpython-36.pyc
1.235 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_basestring.cpython-36.opt-1.pyc
0.64 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_basestring.cpython-36.opt-2.pyc
0.582 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_basestring.cpython-36.pyc
0.64 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_buffer.cpython-36.opt-1.pyc
0.781 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_buffer.cpython-36.opt-2.pyc
0.7 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_buffer.cpython-36.pyc
0.781 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_dict.cpython-36.opt-1.pyc
3.163 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_dict.cpython-36.opt-2.pyc
2.276 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_dict.cpython-36.pyc
3.245 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_except.cpython-36.opt-1.pyc
2.744 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_except.cpython-36.opt-2.pyc
2.295 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_except.cpython-36.pyc
2.744 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exec.cpython-36.opt-1.pyc
1.089 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exec.cpython-36.opt-2.pyc
0.913 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exec.cpython-36.pyc
1.114 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_execfile.cpython-36.opt-1.pyc
1.63 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_execfile.cpython-36.opt-2.pyc
1.491 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_execfile.cpython-36.pyc
1.657 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exitfunc.cpython-36.opt-1.pyc
2.234 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exitfunc.cpython-36.opt-2.pyc
2.15 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_exitfunc.cpython-36.pyc
2.234 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_filter.cpython-36.opt-1.pyc
2.298 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_filter.cpython-36.opt-2.pyc
1.835 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_filter.cpython-36.pyc
2.298 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_funcattrs.cpython-36.opt-1.pyc
0.943 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_funcattrs.cpython-36.opt-2.pyc
0.863 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_funcattrs.cpython-36.pyc
0.943 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_future.cpython-36.opt-1.pyc
0.758 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_future.cpython-36.opt-2.pyc
0.644 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_future.cpython-36.pyc
0.758 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_getcwdu.cpython-36.opt-1.pyc
0.762 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_getcwdu.cpython-36.opt-2.pyc
0.684 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_getcwdu.cpython-36.pyc
0.762 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_has_key.cpython-36.opt-1.pyc
2.814 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_has_key.cpython-36.opt-2.pyc
2.244 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_has_key.cpython-36.pyc
2.842 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_idioms.cpython-36.opt-1.pyc
3.729 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_idioms.cpython-36.opt-2.pyc
3.231 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_idioms.cpython-36.pyc
3.804 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_import.cpython-36.opt-1.pyc
2.717 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_import.cpython-36.opt-2.pyc
2.399 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_import.cpython-36.pyc
2.717 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports.cpython-36.opt-1.pyc
4.239 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports.cpython-36.opt-2.pyc
4.163 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports.cpython-36.pyc
4.239 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports2.cpython-36.opt-1.pyc
0.527 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports2.cpython-36.opt-2.pyc
0.415 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_imports2.cpython-36.pyc
0.527 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_input.cpython-36.opt-1.pyc
0.92 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_input.cpython-36.opt-2.pyc
0.839 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_input.cpython-36.pyc
0.92 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_intern.cpython-36.opt-1.pyc
1.127 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_intern.cpython-36.opt-2.pyc
1.051 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_intern.cpython-36.pyc
1.127 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_isinstance.cpython-36.opt-1.pyc
1.516 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_isinstance.cpython-36.opt-2.pyc
1.189 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_isinstance.cpython-36.pyc
1.516 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools.cpython-36.opt-1.pyc
1.51 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools.cpython-36.opt-2.pyc
1.145 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools.cpython-36.pyc
1.51 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools_imports.cpython-36.opt-1.pyc
1.528 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools_imports.cpython-36.opt-2.pyc
1.435 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_itertools_imports.cpython-36.pyc
1.563 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_long.cpython-36.opt-1.pyc
0.681 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_long.cpython-36.opt-2.pyc
0.604 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_long.cpython-36.pyc
0.681 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_map.cpython-36.opt-1.pyc
3.013 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_map.cpython-36.opt-2.pyc
2.222 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_map.cpython-36.pyc
3.013 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_metaclass.cpython-36.opt-1.pyc
5.202 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_metaclass.cpython-36.opt-2.pyc
3.84 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_metaclass.cpython-36.pyc
5.242 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_methodattrs.cpython-36.opt-1.pyc
0.906 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_methodattrs.cpython-36.opt-2.pyc
0.818 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_methodattrs.cpython-36.pyc
0.906 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ne.cpython-36.opt-1.pyc
0.78 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ne.cpython-36.opt-2.pyc
0.723 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ne.cpython-36.pyc
0.78 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_next.cpython-36.opt-1.pyc
2.953 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_next.cpython-36.opt-2.pyc
2.878 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_next.cpython-36.pyc
2.98 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_nonzero.cpython-36.opt-1.pyc
0.894 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_nonzero.cpython-36.opt-2.pyc
0.822 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_nonzero.cpython-36.pyc
0.894 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_numliterals.cpython-36.opt-1.pyc
0.997 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_numliterals.cpython-36.opt-2.pyc
0.923 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_numliterals.cpython-36.pyc
0.997 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_operator.cpython-36.opt-1.pyc
4.13 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_operator.cpython-36.opt-2.pyc
3.641 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_operator.cpython-36.pyc
4.13 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_paren.cpython-36.opt-1.pyc
1.35 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_paren.cpython-36.opt-2.pyc
1.205 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_paren.cpython-36.pyc
1.35 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_print.cpython-36.opt-1.pyc
2.19 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_print.cpython-36.opt-2.pyc
1.896 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_print.cpython-36.pyc
2.268 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raise.cpython-36.opt-1.pyc
2.188 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raise.cpython-36.opt-2.pyc
1.566 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raise.cpython-36.pyc
2.188 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raw_input.cpython-36.opt-1.pyc
0.769 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raw_input.cpython-36.opt-2.pyc
0.689 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_raw_input.cpython-36.pyc
0.769 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reduce.cpython-36.opt-1.pyc
1.096 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reduce.cpython-36.opt-2.pyc
0.955 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reduce.cpython-36.pyc
1.096 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reload.cpython-36.opt-1.pyc
1.127 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reload.cpython-36.opt-2.pyc
1.051 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_reload.cpython-36.pyc
1.127 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_renames.cpython-36.opt-1.pyc
1.938 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_renames.cpython-36.opt-2.pyc
1.847 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_renames.cpython-36.pyc
1.938 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_repr.cpython-36.opt-1.pyc
0.817 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_repr.cpython-36.opt-2.pyc
0.741 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_repr.cpython-36.pyc
0.817 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_set_literal.cpython-36.opt-1.pyc
1.64 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_set_literal.cpython-36.opt-2.pyc
1.553 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_set_literal.cpython-36.pyc
1.64 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_standarderror.cpython-36.opt-1.pyc
0.695 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_standarderror.cpython-36.opt-2.pyc
0.629 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_standarderror.cpython-36.pyc
0.695 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_sys_exc.cpython-36.opt-1.pyc
1.36 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_sys_exc.cpython-36.opt-2.pyc
1.182 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_sys_exc.cpython-36.pyc
1.36 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_throw.cpython-36.opt-1.pyc
1.752 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_throw.cpython-36.opt-2.pyc
1.513 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_throw.cpython-36.pyc
1.752 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_tuple_params.cpython-36.opt-1.pyc
4.48 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_tuple_params.cpython-36.opt-2.pyc
4.141 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_tuple_params.cpython-36.pyc
4.48 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_types.cpython-36.opt-1.pyc
1.778 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_types.cpython-36.opt-2.pyc
1.302 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_types.cpython-36.pyc
1.778 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_unicode.cpython-36.opt-1.pyc
1.499 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_unicode.cpython-36.opt-2.pyc
1.311 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_unicode.cpython-36.pyc
1.499 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_urllib.cpython-36.opt-1.pyc
5.84 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_urllib.cpython-36.opt-2.pyc
5.281 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_urllib.cpython-36.pyc
5.84 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ws_comma.cpython-36.opt-1.pyc
1.089 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ws_comma.cpython-36.opt-2.pyc
0.894 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_ws_comma.cpython-36.pyc
1.089 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xrange.cpython-36.opt-1.pyc
2.471 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xrange.cpython-36.opt-2.pyc
2.395 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xrange.cpython-36.pyc
2.471 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xreadlines.cpython-36.opt-1.pyc
1.083 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xreadlines.cpython-36.opt-2.pyc
0.943 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_xreadlines.cpython-36.pyc
1.083 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_zip.cpython-36.opt-1.pyc
1.536 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_zip.cpython-36.opt-2.pyc
1.199 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
fix_zip.cpython-36.pyc
1.536 KB
17 Apr 2024 5.19 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF