U if@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 @/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_funcattrs.py transforms zFixFuncattrs.transformN)__name__ __module__ __qualname__Z BM_compatibleZPATTERNrr r r r r srN)__doc__rZ fixer_utilrZBaseFixrr r r r s