tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Y\¬Qc@s_dZddlmZddlmZddlmZmZmZdejfd„ƒYZ    dS(s•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)
i(tpytree(t
fixer_base(tCommatNametCalltFixExeccBseZeZdZd„ZRS(sx
    exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
    |
    exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
    cCs¿|j}|d}|jdƒ}|jdƒ}|jƒg}d|d_|dk    rx|jtƒ|jƒgƒn|dk    r£|jtƒ|jƒgƒnttdƒ|d|jƒS(Ntatbtctiuexectprefix(    tsymstgettcloneR
tNonetextendRRR(tselftnodetresultsR RRRtargs((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_exec.pyt    transforms    
   (t__name__t
__module__tTruet BM_compatibletPATTERNR(((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_exec.pyRsN(
t__doc__R    RRt
fixer_utilRRRtBaseFixR(((s^/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_exec.pyt<module>
s