Your IP : 3.144.227.73


Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_methodattrs.cpython-311.pyc

�

c��f^��T�dZddlmZddlmZdddd�ZGd�d	ej��Zd
S)z;Fix bound method attributes (method.im_? -> method.__?__).
�)�
fixer_base)�Name�__func__�__self__z__self__.__class__)�im_func�im_self�im_classc��eZdZdZdZd�ZdS)�FixMethodattrsTzU
    power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
    c��|dd}t|j}|�t||j�����dS)N�attr�)�prefix)�MAP�value�replacerr)�self�node�resultsr
�news     �D/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_methodattrs.py�	transformzFixMethodattrs.transformsB���v��q�!���$�*�o�����T�#�d�k�2�2�2�3�3�3�3�3�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrrs/�������M��G�4�4�4�4�4rrN)�__doc__�r�
fixer_utilrr�BaseFixrrrr�<module>r$s�����
��������������%����	4�	4�	4�	4�	4�Z�'�	4�	4�	4�	4�	4r

?>