ó v®¸Qc@s^dZddlmZddlmZidd6dd6dd 6Zd ejfd „ƒYZd S( s;Fix bound method attributes (method.im_? -> method.__?__). i(t fixer_base(tNamet__func__tim_funct__self__tim_selfs__self__.__class__tim_classtFixMethodattrscBseZeZdZd„ZRS(sU power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* > cCsA|dd}tt|jƒ}|jt|d|jƒƒdS(Ntattritprefix(tunicodetMAPtvaluetreplaceRR (tselftnodetresultsRtnew((s3/sys/lib/python2.7/lib2to3/fixes/fix_methodattrs.pyt transforms(t__name__t __module__tTruet BM_compatibletPATTERNR(((s3/sys/lib/python2.7/lib2to3/fixes/fix_methodattrs.pyRsN(t__doc__tRt fixer_utilRR tBaseFixR(((s3/sys/lib/python2.7/lib2to3/fixes/fix_methodattrs.pyts