|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/ |
�
!A?h^ � �T � d Z ddlmZ ddlmZ dddd�Z G d� 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 � � 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 �D/opt/alt/python311/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)�__doc__� r �
fixer_utilr r �BaseFixr r r r �<module>r$ s� ��� �
� � � � � � � � � � � � ��%�� �� 4� 4� 4� 4� 4�Z�'� 4� 4� 4� 4� 4r