Heray-Was-Here
Server : nginx/1.30.2
System : Linux elegant-dhawan.198-71-59-75.plesk.page 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64
User : realtyna_guys ( 10000)
PHP Version : 8.2.31
Disable Function : opcache_get_status
Directory :  /lib/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/lib2to3/fixes/fix_exec.pyc
�
;;Wgc@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�|st�|j}|d}|jd�}|jd�}|j�g}d|d_|dk	r�|jt�|j�g�n|dk	r�|jt�|j�g�ntt	d�|d|j�S(Ntatbtctiuexectprefix(
tAssertionErrortsymstgettcloneR
tNonetextendRRR(tselftnodetresultsRRRRtargs((s,/usr/lib/python2.7/lib2to3/fixes/fix_exec.pyt	transforms	

(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((s,/usr/lib/python2.7/lib2to3/fixes/fix_exec.pyRsN(
t__doc__R	RRt
fixer_utilRRRtBaseFixR(((s,/usr/lib/python2.7/lib2to3/fixes/fix_exec.pyt<module>
s

Hry