B
     S]                 @   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parentZcloner	   r   r   )selfZnodeZresultsnew r   (lib/python3.7/lib2to3/fixes/fix_input.py	transform   s
    zFixInput.transformN)__name__
__module____qualname__ZBM_compatibleZPATTERNr   r   r   r   r   r      s   r   N)__doc__r   r   Z
fixer_utilr   r   r   Zcompile_patternr
   ZBaseFixr   r   r   r   r   <module>   s
   
