Your IP : 18.225.56.181


Current Path : /opt/alt/python39/lib64/python3.9/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/lib2to3/fixes/__pycache__/fix_intern.cpython-39.opt-1.pyc

a

R�fx�@s6dZddlmZddlmZmZGdd�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*
    >
    cCsR|r2|d}|r2|j|jjkr2|jdjdvr2dSd}t|||�}tdd|�|S)N�obj�>z**�*)�sys�internr	)�typeZsymsZargumentZchildren�valuerr)�selfZnodeZresultsr�names�new�r�=/opt/alt/python39/lib64/python3.9/lib2to3/fixes/fix_intern.py�	transforms�zFixIntern.transformN)�__name__�
__module__�__qualname__Z
BM_compatible�orderZPATTERNrrrrrr
s
rN)�__doc__�rZ
fixer_utilrrZBaseFixrrrrr�<module>s

?>