HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/pexpect/__pycache__/exceptions.cpython-36.pyc
3


.�],�@sHdZddlZddlZGdd�de�ZGdd�de�ZGdd�de�ZdS)	z!Exception classes used by Pexpect�Ncs0eZdZdZ�fdd�Zdd�Zdd�Z�ZS)�ExceptionPexpectz9Base class for all exceptions raised by this module.
    cstt|�j|�||_dS)N)�superr�__init__�value)�selfr)�	__class__�� /usr/lib/python3.6/exceptions.pyr
szExceptionPexpect.__init__cCs
t|j�S)N)�strr)rrrr	�__str__szExceptionPexpect.__str__cCs4tjtj�d�}dd�|D�}tj|�}dj|�S)z�This returns an abbreviated stack trace with lines that only concern
        the caller. In other words, the stack trace inside the Pexpect module
        is not included. �cSs(g|] }d|dkrd|dkr|�qS)zpexpect/__init__rzpexpect/expectr)�.0�itemrrr	�
<listcomp>sz.ExceptionPexpect.get_trace.<locals>.<listcomp>�)�	traceback�
extract_tb�sys�exc_info�format_list�join)rZtblistrrr	�	get_traces
zExceptionPexpect.get_trace)�__name__�
__module__�__qualname__�__doc__rrr�
__classcell__rr)rr	rsrc@seZdZdZdS)�EOFzRRaised when EOF is read from a child.
    This usually means the child has exited.N)rrrrrrrr	rsrc@seZdZdZdS)�TIMEOUTz-Raised when a read time exceeds the timeout. N)rrrrrrrr	r"sr)rrr�	Exceptionrrrrrrr	�<module>s