3 \^�@s>dZddlmZddlmZdddd�ZGdd �d ej�Zd S) z;Fix bound method attributes (method.im_? -> method.__?__). �)� fixer_base)�Name�__func__�__self__z__self__.__class__)Zim_funcZim_selfZim_classc@seZdZdZdZdd�ZdS)�FixMethodattrsTzU power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* > cCs.|dd}t|j}|jt||jd��dS)N�attr�)�prefix)�MAP�value�replacerr )�selfZnodeZresultsr�new�r�5/usr/lib64/python3.6/lib2to3/fixes/fix_methodattrs.py� transforms  zFixMethodattrs.transformN)�__name__� __module__� __qualname__Z BM_compatibleZPATTERNrrrrrrsrN)�__doc__�rZ fixer_utilrr ZBaseFixrrrrr�s