Your IP : 3.15.10.117


Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_intern.cpython-310.pyc

o

6��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|r|d}|r|j|jjkr|jdjdvrdSd}t|||�}tdd|�|S)N�obj�>�*z**)�sys�internr	)�typeZsymsZargument�children�valuerr)�selfZnodeZresultsr�names�new�r�?/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_intern.py�	transformszFixIntern.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZorderZPATTERNrrrrrr
s

rN)�__doc__�rZ
fixer_utilrrZBaseFixrrrrr�<module>s

?>