|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/ |
Upload File : |
�
zyMa� c @ s_ d Z d d l m Z d d l m Z d d l m Z m Z m Z Gd d � d e j � Z d S( u� 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 ( u pytree( u
fixer_base( u Commau Nameu Callc B s, | Ee Z d Z d Z d Z d d � Z d S( u FixExecux
exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
|
exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
c C s� | s t � | j } | d } | j d � } | j d � } | j � g } d | d _ | d k r� | j t � | j � g � n | d k r� | j t � | j � g � n t t d � | d | j �S( Nu au bu cu i u execu prefix(
u AssertionErroru symsu getu cloneu prefixu Noneu extendu Commau Callu Name( u selfu nodeu resultsu symsu au bu cu args( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu transform s
u FixExec.transformNT( u __name__u
__module__u __qualname__u Trueu
BM_compatibleu PATTERNu transform( u
__locals__( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu FixExec s u FixExecN(
u __doc__u u pytreeu
fixer_baseu
fixer_utilu Commau Nameu Callu BaseFixu FixExec( ( ( u; /opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_exec.pyu <module>
s