관리-도구
편집 파일: fix_funcattrs.cpython-312.pyc
� �Q�f� � �J � d Z ddlmZ ddlmZ G d� dej � Zy)z3Fix function attribute names (f.func_x -> f.__x__).� )� fixer_base)�Namec � � e Zd ZdZdZd� Zy)�FixFuncattrsTz� power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals' | 'func_name' | 'func_defaults' | 'func_code' | 'func_dict') > any* > c � � |d d }|j t d|j dd z |j �� � y )N�attr� z__%s__� )�prefix)�replacer �valuer )�self�node�resultsr s �B/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_funcattrs.py� transformzFixFuncattrs.transform s; � ��v��q�!�����T�8�d�j�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 s"