o
    bc                     @   sL   d Z ddlmZ ddlmZmZ ddlmZ edZG dd dej	Z
dS )	z4Fixer that changes input(...) into eval(input(...)).   )
fixer_base)CallName)patcompz&power< 'eval' trailer< '(' any ')' > >c                   @   s   e Zd ZdZdZdd ZdS )FixInputTzL
              power< 'input' args=trailer< '(' [any] ')' > >
              c                 C   s6   t |jjr	d S | }d|_ttd|g|jdS )N eval)prefix)contextmatchparentcloner	   r   r   )selfnoderesultsnew r   ./usr/lib/python3.10/lib2to3/fixes/fix_input.py	transform   s
   zFixInput.transformN)__name__
__module____qualname__BM_compatiblePATTERNr   r   r   r   r   r      s    r   N)__doc__r   r   
fixer_utilr   r   r   compile_patternr
   BaseFixr   r   r   r   r   <module>   s    
