관리-도구
편집 파일: fix_methodattrs.cpython-34.pyc
� j f^ � @ s^ d Z d d l m Z d d l m Z i d d 6d d 6d d 6Z Gd d � d e j � Z d S) z;Fix bound method attributes (method.im_? -> method.__?__). � )� fixer_base)�Name�__func__Zim_func�__self__Zim_selfz__self__.__class__Zim_classc @ 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/python34/lib64/python3.4/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