�
�f^ � �R � d dl mZ d dlmZ dddd�Z G d� dej � � Zd S )
� )�
fixer_base)�Name�__func__�__self__z__self__.__class__)�im_func�im_self�im_classc � � e Zd ZdZdZd� ZdS )�FixMethodattrsTzU
power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
c � � |d d }t |j }|� t ||j �� � � � d S )N�attr� )�prefix)�MAP�value�replacer r )�self�node�resultsr
�news �6/usr/lib64/python3.11/lib2to3/fixes/fix_methodattrs.py� transformzFixMethodattrs.transform sB � ��v��q�!���$�*�o�����T�#�d�k�2�2�2�3�3�3�3�3� N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr � r r r r s/ � � � � � ��M��G�4� 4� 4� 4� 4r r N)� r �
fixer_utilr r �BaseFixr r r r �<module>r# s~ ���
� � � � � � � � � � � � ��%�� �� 4� 4� 4� 4� 4�Z�'� 4� 4� 4� 4� 4r