Graybyt3 Was Here
Linux vps-4656817-x.dattaweb.com 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
Apache
200.58.107.103
/
lib
/
python3.9
/
site-packages
/
pexpect
/
__pycache__
[ HOME ]
Exec
Submit
File Name : exceptions.cpython-39.pyc
a ��!^, � @ 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__� �6/usr/lib/python3.9/site-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 � <listcomp> s �z.ExceptionPexpect.get_trace.<locals>.<listcomp>� )� traceback� extract_tb�sys�exc_info�format_list�join)r Ztblistr r r � get_trace s zExceptionPexpect.get_trace)�__name__� __module__�__qualname__�__doc__r r r � __classcell__r r r r r s r c @ s 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 s r c @ s e Zd ZdZdS )�TIMEOUTz-Raised when a read time exceeds the timeout. Nr r r r r r! "