Your IP : 3.144.89.197


Current Path : /opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_nonzero.cpython-35.opt-2.pyc



���]U�@sCddlmZddlmZmZGdd�dej�ZdS)�)�
fixer_base)�Name�symsc@s(eZdZdZdZdd�ZdS)�
FixNonzeroTz�
    classdef< 'class' any+ ':'
              suite< any*
                     funcdef< 'def' name='__nonzero__'
                              parameters< '(' NAME ')' > any+ >
                     any* > >
    cCs0|d}tdd|j�}|j|�dS)N�name�__bool__�prefix)rr�replace)�selfZnode�resultsr�new�r
�0/opt/alt/python35/lib64/python3.5/fix_nonzero.py�	transforms
zFixNonzero.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNrr
r
r
rrsrN)�rZ
fixer_utilrrZBaseFixrr
r
r
r�<module>s

?>