HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/lib/python3.10/site-packages/pexpect/__pycache__/exceptions.cpython-310.pyc
o

�h,�@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|��|�||_dS�N)�superr�__init__�value)�selfr��	__class__��E/usr/local/CyberCP/lib/python3.10/site-packages/pexpect/exceptions.pyr
s
zExceptionPexpect.__init__cCs
t|j�Sr)�strr)rr
r
r�__str__s
zExceptionPexpect.__str__cCs4t�t��d�}dd�|D�}t�|�}d�|�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|dvrd|dvr|�qS)zpexpect/__init__rzpexpect/expectr
)�.0�itemr
r
r�
<listcomp>s�z.ExceptionPexpect.get_trace.<locals>.<listcomp>�)�	traceback�
extract_tb�sys�exc_info�format_list�join)r�tblistr
r
r�	get_traces

zExceptionPexpect.get_trace)�__name__�
__module__�__qualname__�__doc__rr
r�
__classcell__r
r
rrrs
rc@�eZdZdZdS)�EOFzRRaised when EOF is read from a child.
    This usually means the child has exited.N�rrrrr
r
r
rr!�r!c@r )�TIMEOUTz-Raised when a read time exceeds the timeout. Nr"r
r
r
rr$"r#r$)rrr�	Exceptionrr!r$r
r
r
r�<module>s