o
    Š�bce  ã                   @   s:   d Z ddlmZ ddlmZmZmZ G d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   s8   |d   ¡ }|j| jjkrt|ƒ}ttdƒ|g|jd�S )NÚexprÚrepr)Úprefix)ÚcloneÚtypeÚsymsÚ	testlist1r   r   r   r	   )ÚselfÚnodeÚresultsr   © r   ú-/usr/lib/python3.10/lib2to3/fixes/fix_repr.pyÚ	transform   s   zFixRepr.transformN)Ú__name__Ú
__module__Ú__qualname__ÚBM_compatibleÚPATTERNr   r   r   r   r   r      s    r   N)	Ú__doc__Ú r   Ú
fixer_utilr   r   r   ÚBaseFixr   r   r   r   r   Ú<module>   s   