U
�AT^^ c @ s: d dl mZ d dlmZ dddd�ZG dd� dej�Zd S )
i )�
fixer_base)�NameZ__func__Z__self__z__self__.__class__)Zim_funcZim_selfZim_classc @ s e Zd ZdZdZdd� ZdS )�FixMethodattrsTzU
power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
c C s. |d d }t |j }|�t||jd�� d S )N�attri )�prefix)�MAPZvalueZreplacer r )ZselfZnodeZresultsr Znew� r �5/usr/lib64/python3.8/lib2to3/fixes/fix_methodattrs.py� transform s
zFixMethodattrs.transformN)Z__name__Z
__module__Z__qualname__Z
BM_compatibleZPATTERNr r r r r r s r N)Z r Z
fixer_utilr r ZBaseFixr r r r r Z<module> s �