Your IP : 13.58.77.244
�
�Q�f^ � �V � d Z ddlmZ ddlmZ dddd�Z G d� d ej � Zy
)z;Fix bound method attributes (method.im_? -> method.__?__).
� )�
fixer_base)�Name�__func__�__self__z__self__.__class__)�im_func�im_self�im_classc � � e Zd ZdZdZd� Zy)�FixMethodattrsTzU
power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
c � � |d d }t |j }|j t ||j �� � y )N�attr� )�prefix)�MAP�value�replacer r )�self�node�resultsr
�news �D/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_methodattrs.py� transformzFixMethodattrs.transform s4 � ��v��q�!���$�*�*�o�����T�#�d�k�k�2�3� N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr � r r r r s � ��M��G�4r r N)�__doc__� r �
fixer_utilr r �BaseFixr r r r �<module>r$ s6 ���
� � ��%��� 4�Z�'�'� 4r