| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pexpect/__pycache__/ |
Upload File : |
�
��!^, � �n � d Z ddlZddlZ G d� de� � Z G d� de� � Z G d� de� � ZdS ) z!Exception classes used by Pexpect� Nc �. � � e Zd ZdZ� fd�Zd� Zd� Z� xZS )�ExceptionPexpectz9Base class for all exceptions raised by this module.
c �f �� t t | � � � |� � || _ d S �N)�superr �__init__�value)�selfr � __class__s ��4/usr/lib/python3/dist-packages/pexpect/exceptions.pyr zExceptionPexpect.__init__
s- �� �
���%�%�.�.�u�5�5�5���
�
�
� c �* � t | j � � S r )�strr )r
s r �__str__zExceptionPexpect.__str__ s � ��4�:���r
c �� � t j t j � � d � � }d� |D � � }t j |� � }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 �: � g | ]}d |d vrd|d v�|��S )zpexpect/__init__r zpexpect/expect� )�.0�items r �
<listcomp>z.ExceptionPexpect.get_trace.<locals>.<listcomp> sB � � R� R� R�4�.@��Q��.O�.O�0@��Q��0O�0O� �0O�0O�0Or
� )� traceback�
extract_tb�sys�exc_info�format_list�join)r
�tblists r � get_tracezExceptionPexpect.get_trace sa � �
�%�c�l�n�n�Q�&7�8�8��R� R�6� R� R� R���&�v�.�.���w�w�v���r
)�__name__�
__module__�__qualname__�__doc__r r r �
__classcell__)r s @r r r s` �� � � � � �� �� � � � �� � � � � � � � � r
r c � � e Zd ZdZdS )�EOFzRRaised when EOF is read from a child.
This usually means the child has exited.N�r! r"