Your IP : 18.224.45.82
���]� � @ sY d d l m Z d d l m Z d d l m Z m Z m Z Gd d � d e j � Z d S)� )�pytree)�
fixer_base)�Comma�Name�Callc @ s( e Z d Z d Z d Z d d � Z d S)�FixExecTzx
exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
|
exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
c C s� | j } | d } | j d � } | j d � } | j � g } d | d _ | d k ru | j t � | j � g � | d k r� | j t � | j � g � t t d � | d | j �S)N�a�b�c� � �exec�prefix)�syms�getZcloner �extendr r r )�selfZnode�resultsr r r r
�args� r �-/opt/alt/python35/lib64/python3.5/fix_exec.py� transform s
zFixExec.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNr r r r r r s r N) r r r Z
fixer_utilr r r ZBaseFixr r r r r �<module>
s