|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/ |
�
㕐RGr+� �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