AlkantarClanX12

Your IP : 3.144.8.145


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_intern.cpython-35.pyc



��Yf��@sIdZddlmZddlmZmZGdd�dej�ZdS)z/Fixer for intern().

intern(s) -> sys.intern(s)�)�
fixer_base)�
ImportAndCall�touch_importc@s.eZdZdZdZdZdd�ZdS)�	FixInternTZprez�
    power< 'intern'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) obj=any
                      | obj=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    cCs�|r^|d}|r^|j|jjkr/dS|j|jjkr^|jdjdkr^dSd}t|||�}tdd|�|S)N�obj�z**�sys�intern)rr	)�typeZsymsZ	star_exprZargumentZchildren�valuerr)�selfZnodeZresultsr�names�new�r�=/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_intern.py�	transforms
zFixIntern.transformN)�__name__�
__module__�__qualname__Z
BM_compatible�orderZPATTERNrrrrrr
s
rN)�__doc__�rZ
fixer_utilrrZBaseFixrrrrr�<module>s