3 \@s:dZddlmZddlmZmZmZGdddejZdS)zFixer for exec. This converts usages of the exec statement into calls to a built-in exec() function. exec code in ns1, ns2 -> exec(code, ns1, ns2) ) fixer_base)CommaNameCallc@seZdZdZdZddZdS)FixExecTzx exec_stmt< 'exec' a=any 'in' b=any [',' c=any] > | exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any > cCs|st|j}|d}|jd}|jd}|jg}d|d_|dk rZ|jt|jg|dk rv|jt|jgttd||jdS)Nabcexec)prefix) AssertionErrorsymsgetZcloner extendrrr)selfZnoderesultsrrrr argsr /usr/lib64/python3.6/fix_exec.py transforms    zFixExec.transformN)__name__ __module__ __qualname__Z BM_compatibleZPATTERNrrrrrrsrN) __doc__r rZ fixer_utilrrrZBaseFixrrrrr s