î i f„ã@sCdZddlmZddlmZGdd„dejƒZdS)z3Fix function attribute names (f.func_x -> f.__x__).é)Ú fixer_base)ÚNamec@s(eZdZdZdZdd„ZdS)Ú FixFuncattrsTzß power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals' | 'func_name' | 'func_defaults' | 'func_code' | 'func_dict') > any* > cCs?|dd}|jtd|jdd…d|jƒƒdS)NÚattréz__%s__éÚprefix)ÚreplacerÚvaluer)ÚselfZnodeZresultsr©r ú@/opt/alt/python34/lib64/python3.4/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