o bc@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)selfnoderesultsrr2/usr/lib/python3.10/lib2to3/fixes/fix_funcattrs.py transforms  zFixFuncattrs.transformN)__name__ __module__ __qualname__ BM_compatiblePATTERNrrrrrr s rN)__doc__r fixer_utilrBaseFixrrrrrs