a
    ´i^  ã                   @   s:   d dl mZ d dlmZ ddddœZG dd„ dejƒZd	S )
é   )Ú
fixer_base)ÚNameÚ__func__Ú__self__z__self__.__class__)Zim_funcZim_selfZim_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 }| t||jd�¡ d S )NÚattré    )Úprefix)ÚMAPÚvalueÚreplacer   r	   )ÚselfZnodeÚresultsr   Únew© r   ú5/usr/lib64/python3.9/lib2to3/fixes/fix_methodattrs.pyÚ	transform   s    
zFixMethodattrs.transformN)Ú__name__Ú
__module__Ú__qualname__ZBM_compatibleZPATTERNr   r   r   r   r   r      s   r   N)Ú r   Z
fixer_utilr   r
   ZBaseFixr   r   r   r   r   Ú<module>   s   ý