Your IP : 3.129.210.35


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_funcattrs.cpython-312.opt-1.pyc

�

�Q�f���J�dZddlmZddlmZGd�dej
�Zy)z3Fix function attribute names (f.func_x -> f.__x__).�)�
fixer_base)�Namec��eZdZdZdZd�Zy)�FixFuncattrsTz�
    power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'
                                  | 'func_name' | 'func_defaults' | 'func_code'
                                  | 'func_dict') > any* >
    c��|dd}|jtd|jddz|j���y)N�attr�z__%s__�)�prefix)�replacer�valuer)�self�node�resultsrs    �B/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_funcattrs.py�	transformzFixFuncattrs.transforms;���v��q�!�����T�8�d�j�j���n�4�!%���.�	/�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrr	s���M��G�/rrN)�__doc__�r�
fixer_utilr�BaseFixrrrr�<module>rs"��9���/�:�%�%�/r

?>