python (3.12.0)
̑e R d Z ddlmZ ddlmZmZmZ G d dej Zy)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 e Zd ZdZdZd Zy)FixExecTzx
exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
|
exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
c |sJ | j }|d }|j d }|j d }|j g}d|d _ |)|j t |j g |)|j t |j g t
t d ||j S )Nabc exec)prefix)symsgetcloner extendr r r )selfnoderesultsr r
r r argss J/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/lib2to3/fixes/fix_exec.py transformzFixExec.transform s yyCLKKKK {Q=KK!''),-=KK!''),-DL$t{{;; N)__name__
__module____qualname__
BM_compatiblePATTERNr r r r r s MG
<r r N) __doc__r
r
fixer_utilr r r BaseFixr r! r r <module>r% s'