관리-도구
편집 파일: fix_intern.cpython-312.pyc
� �Q�fx � �N � d Z ddlmZ ddlmZmZ G d� dej � Zy)z/Fixer for intern(). intern(s) -> sys.intern(s)� )� fixer_base)� ImportAndCall�touch_importc � � e Zd ZdZdZdZd� 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 | j j k( r|j d j dv ry d}t |||� }t d d|� |S )N�obj� > �**�*)�sys�internr )�type�syms�argument�children�valuer r )�self�node�resultsr �names�news �?/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_intern.py� transformzFixIntern.transform sf � �� �%�.�C���H�H�� � � 2� 2�2��L�L��O�)�)�[�8��!���D�'�5�1���T�5�$�'�� � N)�__name__� __module__�__qualname__� BM_compatible�order�PATTERNr � r r r r s � ��M��E��G�r r N)�__doc__� r � fixer_utilr r �BaseFixr r# r r �<module>r( s$ ��� � 4�� �"�"� r