File: //lib64/python3.9/lib2to3/fixes/__pycache__/fix_repr.cpython-39.opt-1.pyc
a
    �DOge  �                   @   s:   d Z ddlmZ ddlmZmZmZ G dd� dej�ZdS )z/Fixer that transforms `xyzzy` into repr(xyzzy).�   )�
fixer_base)�Call�Name�parenthesizec                   @   s   e Zd ZdZdZdd� ZdS )�FixReprTz7
              atom < '`' expr=any '`' >
              c                 C   s8   |d � � }|j| jjkr"t|�}ttd�|g|jd�S )N�expr�repr)�prefix)Zclone�typeZsymsZ	testlist1r   r   r   r	   )�selfZnode�resultsr   � r
   �./usr/lib64/python3.9/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