HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: //opt/alt/python37/lib64/python3.7/site-packages/guppy/heapy/__pycache__/Console.cpython-37.pyc
B

�]K�@sddlZGdd�dej�ZdS)�Nc@s,eZdZdZddd�Zddd�Zd	d
�ZdS)
�Console�-N�	<console>cCs ||_||_tj�|||�dS)N)�stdin�stdout�code�InteractiveConsole�__init__)�selfrr�locals�filename�r
�F/opt/alt/python37/lib64/python3.7/site-packages/guppy/heapy/Console.pyr	szConsole.__init__�cCs<|�|�|j��}|st�|��}||jkr4t�n|SdS)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.

        N)�writer�readline�EOFError�rstrip�EOF_key_sequence)r
�prompt�liner
r
r�	raw_inputs


zConsole.raw_inputcCs|j�|�|j��dS)N)rr�flush)r
�datar
r
rrsz
Console.write)Nr)r)�__name__�
__module__�__qualname__rr	rrr
r
r
rrs

r)rrrr
r
r
r�<module>s