✏️ 编辑:fix_exec.cpython-39.opt-1.pyc
路径:
/usr/lib64/python3.9/lib2to3/fixes/__pycache__/fix_exec.cpython-39.opt-1.pyc
大小:1.09 KB · 修改:2026-08-12 15:51:23 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a �i� � @ s: d Z ddlmZ ddlmZmZmZ G dd� 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 @ s e Zd ZdZdZdd� ZdS )�FixExecTzx exec_stmt< 'exec' a=any 'in' b=any [',' c=any] > | exec_stmt< 'exec' (not atom<'(' [any] ')'>) a=any > c C s� | j }|d }|�d�}|�d�}|�� g}d|d _|d urR|�t� |�� g� |d urn|�t� |�� g� ttd�||jd�S )N�a�b�c� � �exec)�prefix)�syms�getZcloner �extendr r r )�selfZnode�resultsr r r r �args� r �./usr/lib64/python3.9/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 Z fixer_utilr r r ZBaseFixr r r r r �<module> s
💾 保存
取消
保存为 UTF-8,换行统一为 LF