%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core22/current/lib/python3.10/lib2to3/fixes/__pycache__/
Upload File :
Create Path :
Current File : //snap/core22/current/lib/python3.10/lib2to3/fixes/__pycache__/fix_exec.cpython-310.pyc

o

��bc��@s:dZddlmZddlmZmZmZGdd�dej�ZdS)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)
�)�
fixer_base)�Comma�Name�Callc@seZdZdZdZdd�ZdS)�FixExecTzx
    exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
    |
    exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
    cCs�|sJ�|j}|d}|�d�}|�d�}|��g}d|d_|dur-|�t�|��g�|dur;|�t�|��g�ttd�||jd�S)N�a�b�c���exec)�prefix)�syms�get�cloner
�extendrrr)�self�node�resultsrrrr	�args�r�-/usr/lib/python3.10/lib2to3/fixes/fix_exec.py�	transforms



zFixExec.transformN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNrrrrrrsrN)	�__doc__r
r�
fixer_utilrrr�BaseFixrrrrr�<module>s	

Zerion Mini Shell 1.0