3 \��@s2dZddlmZddlmZGdd�dej�ZdS)z3Fix function attribute names (f.func_x -> f.__x__).�)� fixer_base)�Namec@seZdZdZdZdd�ZdS)� FixFuncattrsTz� power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals' | 'func_name' | 'func_defaults' | 'func_code' | 'func_dict') > any* > cCs2|dd}|jtd|jdd�|jd��dS)N�attr�z__%s__�)�prefix)�replacer�valuer)�selfZnodeZresultsr�r �3/usr/lib64/python3.6/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