Server IP : 192.158.238.246 / Your IP : 18.226.52.105 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__/ |
Upload File : |
� j f� � @ 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)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) � )�pytree)� fixer_base)�Comma�Name�Callc @ s( e Z d Z d Z d Z d d � Z d S)�FixExecTzx 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)N�a�b�c� � �exec�prefix) �AssertionError�syms�getZcloner �extendr r r )�selfZnodeZresultsr r r r �args� r �;/opt/alt/python34/lib64/python3.4/lib2to3/fixes/fix_exec.py� transform s zFixExec.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNr r r r r r s r N) �__doc__r r r Z fixer_utilr r r ZBaseFixr r r r r �<module> s