3  f^@s>dZddlmZddlmZddddZGdd d ejZd S) z;Fix bound method attributes (method.im_? -> method.__?__). ) fixer_base)Name__func____self__z__self__.__class__)Zim_funcZim_selfZim_classc@seZdZdZdZddZdS)FixMethodattrsTzU power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* > cCs.|dd}t|j}|jt||jddS)Nattr)prefix)MAPvaluereplacerr )selfZnodeZresultsrnewrB/opt/alt/python36/lib64/python3.6/lib2to3/fixes/fix_methodattrs.py transforms  zFixMethodattrs.transformN)__name__ __module__ __qualname__Z BM_compatibleZPATTERNrrrrrrsrN)__doc__rZ fixer_utilrr ZBaseFixrrrrrs