File: //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_repr.cpython-35.opt-1.pyc
��Yfe  �               @   sO   d  Z  d d l m Z d d l m Z m Z m Z Gd d �  d e j � Z d S)z/Fixer that transforms `xyzzy` into repr(xyzzy).�   )�
fixer_base)�Call�Name�parenthesizec               @   s(   e  Z d  Z d Z d Z d d �  Z d S)�FixReprTz7
              atom < '`' expr=any '`' >
              c             C   sP   | d j  �  } | j |  j j k r1 t | � } t t d � | g d | j �S)N�expr�repr�prefix)Zclone�typeZsymsZ	testlist1r   r   r   r	   )�selfZnodeZresultsr   � r   �;/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_repr.py�	transform   s    zFixRepr.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr   r   r   r   r
   r      s   r   N)	�__doc__� r   Z
fixer_utilr   r   r   ZBaseFixr   r   r   r   r
   �<module>   s