AlkantarClanX12

Your IP : 3.149.25.117


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_intern.cpython-312.pyc

�

�Q�fx��N�dZddlmZddlmZmZGd�dej�Zy)z/Fixer for intern().

intern(s) -> sys.intern(s)�)�
fixer_base)�
ImportAndCall�touch_importc��eZdZdZdZdZd�Zy)�	FixInternT�prez�
    power< 'intern'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) obj=any
                      | obj=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    c���|rF|d}|r?|j|jjk(r|jdjdvryd}t|||�}t
dd|�|S)N�obj�>�**�*)�sys�internr)�type�syms�argument�children�valuerr)�self�node�resultsr
�names�news      �?/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_intern.py�	transformzFixIntern.transformsf����%�.�C���H�H��	�	� 2� 2�2��L�L��O�)�)�[�8��!���D�'�5�1���T�5�$�'��
�N)�__name__�
__module__�__qualname__�
BM_compatible�order�PATTERNr�rrrr
s���M��E��G�rrN)�__doc__�r�
fixer_utilrr�BaseFixrr#rr�<module>r(s$���
�4��
�"�"�r