o ?OgÓã@s:dZddlmZddlmZmZmZGdd„dejƒZdS)z•Fixer 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)ÚCommaÚNameÚCallc@seZdZdZdZdd„ZdS)ÚFixExecTzx exec_stmt< 'exec' a=any 'in' b=any [',' c=any] > | exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any > cCsŠ|sJ‚|j}|d}| d¡}| d¡}| ¡g}d|d_|dur-| tƒ| ¡g¡|dur;| tƒ| ¡g¡ttdƒ||jdS)NÚaÚbÚcÚéÚexec)Úprefix)ÚsymsÚgetZcloner Úextendrrr)ÚselfZnodeZresultsrrrr Úargs©rú=/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_exec.pyÚ transforms    zFixExec.transformN)Ú__name__Ú __module__Ú __qualname__Z BM_compatibleZPATTERNrrrrrrs rN) Ú__doc__r rZ fixer_utilrrrZBaseFixrrrrrÚs