관리-도구
편집 파일: code.cpython-37.opt-2.pyc
B YI~d~) � @ s� d dl Z d dlZd dlmZmZ ddddgZG dd� d�ZG dd� de�Zdd d�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 krdd d�}|| _ t� | _d S )NZ__console__)�__name__�__doc__)�localsr �compile)�selfr � r �)/opt/alt/python37/lib64/python3.7/code.py�__init__ s zInteractiveInterpreter.__init__�<input>�singlec C sR y| � |||�}W n$ tttfk r6 | �|� dS X |d krDdS | �|� dS )NFT)r � OverflowError�SyntaxError� ValueError�showsyntaxerror�runcode)r �source�filename�symbol�coder r r � runsource&