관리-도구
편집 파일: code.cpython-39.opt-2.pyc
a R�f~) � @ s� d dl Z d dlZd dlmZmZ g d�ZG dd� d�ZG dd� de�Zddd �Ze d kr�d dl Z e �� Zej ddd d� e�� Zejs�e jjr�dZndZee� dS )� N)�CommandCompiler�compile_command)�InteractiveInterpreter�InteractiveConsole�interactr c @ sB e Zd Zddd�Zddd�Zdd � Zdd d�Zdd � Zdd� ZdS )r Nc C s$ |d u rdd d�}|| _ t� | _d S )NZ__console__)�__name__�__doc__)�localsr �compile)�selfr � r �)/opt/alt/python39/lib64/python3.9/code.py�__init__ s zInteractiveInterpreter.__init__�<input>�singlec C sR z| � |||�}W n$ tttfy6 | �|� Y dS 0 |d u rDdS | �|� dS )NFT)r � OverflowError�SyntaxError� ValueError�showsyntaxerror�runcode)r �source�filenameZsymbol�coder r r � runsource&