ok
Direktori : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_intern.cpython-311.opt-1.pyc |
� �fx � �L � d Z ddlmZ ddlmZmZ G d� dej � � ZdS )z/Fixer for intern(). intern(s) -> sys.intern(s)� )� fixer_base)� ImportAndCall�touch_importc � � e Zd ZdZdZdZd� ZdS )� FixInternT�prez� power< 'intern' trailer< lpar='(' ( not(arglist | argument<any '=' any>) obj=any | obj=arglist<(not argument<any '=' any>) any ','> ) rpar=')' > after=any* > c � � |r5|d }|r+|j | j j k r|j d j dv rd S d}t |||� � }t d d|� � |S )N�obj� > �**�*)�sys�internr )�type�syms�argument�children�valuer r )�self�node�resultsr �names�news �?/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_intern.py� transformzFixIntern.transform su � �� � �%�.�C�� ��H�� � 2�2�2��L��O�)�[�8�8��F�!���D�'�5�1�1���T�5�$�'�'�'�� � N)�__name__� __module__�__qualname__� BM_compatible�order�PATTERNr � r r r r s4 � � � � � ��M��E��G�� � � � r r N)�__doc__� r � fixer_utilr r �BaseFixr r# r r �<module>r( sr ��� � � � � � � � 4� 4� 4� 4� 4� 4� 4� 4�� � � � � �"� � � � � r