관리-도구
편집 파일: fix_methodattrs.cpython-35.pyc
��Yf^ � @ s[ d Z d d l m Z d d l m Z d d d d d d i Z Gd d � d e j � Z d S) z;Fix bound method attributes (method.im_? -> method.__?__). � )� fixer_base)�NameZim_func�__func__Zim_self�__self__Zim_classz__self__.__class__c @ s( e Z d Z d Z d Z d d � Z d S)�FixMethodattrsTzU power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* > c C s; | d d } t | j } | j t | d | j �� d S)N�attr� �prefix)�MAP�value�replacer r )�selfZnodeZresultsr �new� r �B/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_methodattrs.py� transform s zFixMethodattrs.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNr r r r r r s r N)�__doc__� r Z fixer_utilr r ZBaseFixr r r r r �<module> s