Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.190.25.139
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : fix_exec.cpython-312.pyc
�


f���R�dZddlmZddlmZmZmZGd�dej�Zy)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��eZdZdZdZd�Zy)�FixExecTzx
    exec_stmt< 'exec' a=any 'in' b=any [',' c=any] >
    |
    exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any >
    c��|sJ�|j}|d}|jd�}|jd�}|j�g}d|d_|�)|j	t�|j�g�|�)|j	t�|j�g�t
td�||j��S)N�a�b�c���exec)�prefix)�syms�get�cloner�extendrrr)�self�node�resultsrr
rr�argss        �?/usr/local/python-3.12/lib/python3.12/lib2to3/fixes/fix_exec.py�	transformzFixExec.transforms�����w��y�y���C�L���K�K�����K�K�������	�{����Q����=��K�K���!�'�'�)�,�-��=��K�K���!�'�'�)�,�-��D��L�$�t�{�{�;�;�N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr�rrrrs���M��G�
<rrN)	�__doc__r
r�
fixer_utilrrr�BaseFixrr!rr�<module>r%s'����*�*�<�j� � �<r
© 2025 GrazzMean