File: //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_methodattrs.cpython-35.opt-2.pyc
���]^  �               @   sU   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)�   )�
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	   )�selfZnode�resultsr   �new� r   �4/opt/alt/python35/lib64/python3.5/fix_methodattrs.py�	transform   s    
zFixMethodattrs.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr   r   r   r   r   r      s   r   N)� r   Z
fixer_utilr   r
   ZBaseFixr   r   r   r   r   �<module>   s