o !Qd@s2dZddlmZddlmZGdddejZdS)z3Fix function attribute names (f.func_x -> f.__x__).) fixer_base)Namec@seZdZdZdZddZdS) FixFuncattrsTz power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals' | 'func_name' | 'func_defaults' | 'func_code' | 'func_dict') > any* > cCs2|dd}|td|jdd|jddS)Nattrz__%s__)prefix)replacervaluer)selfZnodeZresultsrr B/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_funcattrs.py transforms  zFixFuncattrs.transformN)__name__ __module__ __qualname__Z BM_compatibleZPATTERNrr r r r r s rN)__doc__rZ fixer_utilrZBaseFixrr r r r s