관리-도구
편집 파일: Console.cpython-311.pyc
� �܋fK � �4 � d dl Z G d� de j � � ZdS )� Nc �( � e Zd ZdZdd�Zd d�Zd� ZdS ) �Console�-N� <console>c �d � || _ || _ t j � | ||� � d S �N)�stdin�stdout�code�InteractiveConsole�__init__)�selfr r �locals�filenames �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/guppy/heapy/Console.pyr zConsole.__init__ s1 � ��� ������(�(��v�x�@�@�@�@�@� � c � � | � |� � | j � � � }|st �|� � � }|| j k rt �|S )z�Write a prompt and read a line. The returned line does not include the trailing newline. When the user enters the EOF key sequence, EOFError is raised. )�writer �readline�EOFError�rstrip�EOF_key_sequence)r �prompt�lines r � raw_inputzConsole.raw_input s[ � � � � �6�����z�"�"�$�$��� ��N��{�{�}�}���4�(�(�(��N��Kr c �l � | j � |� � | j � � � d S r )r r �flush)r �datas r r z Console.write s2 � �����$������������r )Nr )r )�__name__� __module__�__qualname__r r r r � r r r r sU � � � � � ���A� A� A� A� � � � �"� � � � r r )r r r r# r r �<module>r$ sE �� ����� � � � �d�%� � � � � r