3
.ù], ã @ 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| ƒj|ƒ || _d S )N)Úsuperr Ú__init__Úvalue)Úselfr )Ú __class__© ú /usr/lib/python3.6/exceptions.pyr
s zExceptionPexpect.__init__c C s
t | jƒS )N)Ústrr )r r r r Ú__str__ s zExceptionPexpect.__str__c C s4 t jtjƒ d ƒ}dd„ |D ƒ}t j|ƒ}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. é c S s( g | ] }d |d krd|d kr|‘qS )zpexpect/__init__r zpexpect/expectr )Ú.0Úitemr r r ú