File: //lib64/python3.6/lib2to3/fixes/__pycache__/fix_input.cpython-36.opt-1.pyc
3
  \�  �               @   sL   d Z ddlmZ ddlmZmZ ddlmZ ejd�ZG dd� dej	�Z
dS )	z4Fixer that changes input(...) into eval(input(...)).�   )�
fixer_base)�Call�Name)�patcompz&power< 'eval' trailer< '(' any ')' > >c               @   s   e Zd ZdZdZdd� ZdS )�FixInputTzL
              power< 'input' args=trailer< '(' [any] ')' > >
              c             C   s6   t j|jj�rd S |j� }d|_ttd�|g|jd�S )N� �eval)�prefix)�context�match�parentZcloner	   r   r   )�selfZnodeZresults�new� r   �//usr/lib64/python3.6/lib2to3/fixes/fix_input.py�	transform   s
    zFixInput.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr   r   r   r   r   r   
   s   r   N)�__doc__r   r   Z
fixer_utilr   r   r   Zcompile_patternr
   ZBaseFixr   r   r   r   r   �<module>   s