/usr/lib/python3/dist-packages/pexpect/__pycache__
Edit: /usr/lib/python3/dist-packages/pexpect/__pycache__/exceptions.cpython-310.pyc (1846B)
o
ÿé!^, ã @ sH d Z ddlZddlZG dd„ deƒZG dd„ deƒZG dd„ deƒZdS ) z!Exception classes used by Pexpecté Nc s0 e Zd ZdZ‡ fdd„Zdd„ Zdd„ Z‡ ZS )ÚExceptionPexpectz9Base class for all exceptions raised by this module.
c s t t| ƒ |¡ || _d S ©N)Úsuperr Ú__init__Úvalue)Úselfr ©Ú __class__© ú4/usr/lib/python3/dist-packages/pexpect/exceptions.pyr
s
zExceptionPexpect.__init__c C s
t | jƒS r )Ústrr )r r
r
r Ú__str__ s
zExceptionPexpect.__str__c C s4 t 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. é c S s( g | ]}d |d vrd|d vr|‘qS )zpexpect/__init__r zpexpect/expectr
)Ú.0Úitemr
r
r Ú
s ÿz.ExceptionPexpect.get_trace..Ú )Ú tracebackÚ
extract_tbÚsysÚexc_infoÚformat_listÚjoin)r Útblistr
r
r Ú get_trace s
zExceptionPexpect.get_trace)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r
r Ú
__classcell__r
r
r r r s
r c @ ó e Zd ZdZdS )ÚEOFzRRaised when EOF is read from a child.
This usually means the child has exited.N©r r r r r
r
r
r r! ó r! c @ r )ÚTIMEOUTz-Raised when a read time exceeds the timeout. Nr" r
r
r
r r$ " r# r$ )r r r Ú Exceptionr r! r$ r
r
r
r Ú s