Your IP : 18.119.135.231
�
c��f� � �H � d Z ddlmZ ddlmZ G d� dej � � ZdS )z3Fix function attribute names (f.func_x -> f.__x__).� )�
fixer_base)�Namec � � e Zd ZdZdZd� ZdS )�FixFuncattrsTz�
power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'
| 'func_name' | 'func_defaults' | 'func_code'
| 'func_dict') > any* >
c � � |d d }|� t d|j dd � z |j �� � � � d S )N�attr� z__%s__� )�prefix)�replacer �valuer )�self�node�resultsr s �B/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_funcattrs.py� transformzFixFuncattrs.transform sW � ��v��q�!�����T�8�d�j����n�4�!%��.� .� .� /� /� /� /� /� N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr � r r r r s/ � � � � � ��M��G�/� /� /� /� /r r N)�__doc__� r �
fixer_utilr �BaseFixr r r r �<module>r sh �� 9� 9� � � � � � � � � � � � �/� /� /� /� /�:�%� /� /� /� /� /r