AlkantarClanX12
Current Path : /opt/alt/python38/lib64/python3.8/asyncio/__pycache__/ |
Current File : //opt/alt/python38/lib64/python3.8/asyncio/__pycache__/exceptions.cpython-38.opt-2.pyc |
U i�fa � @ sh d Z G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d � d e�Z G dd� de�Z d S ))�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc @ s e Zd ZdS )r N��__name__� __module__�__qualname__� r r �7/opt/alt/python38/lib64/python3.8/asyncio/exceptions.pyr s r c @ s e Zd ZdS )r Nr r r r r r s r c @ s e Zd ZdS )r Nr r r r r r s r c @ s e Zd ZdS )r Nr r r r r r s r c s$ e Zd Z� fdd�Zdd� Z� ZS )r c s@ |d krdnt |�}t� �t|�� d|� d�� || _|| _d S )NZ undefinedz bytes read on a total of z expected bytes)�repr�super�__init__�len�partial�expected)�selfr r Z r_expected�� __class__r r r $ s zIncompleteReadError.__init__c C s t | �| j| jffS �N)�typer r �r r r r � __reduce__+ s zIncompleteReadError.__reduce__�r r r r r � __classcell__r r r r r s r c s$ e Zd Z� fdd�Zdd� Z� ZS )r c s t � �|� || _d S r )r r �consumed)r �messager r r r r 5 s zLimitOverrunError.__init__c C s t | �| jd | jffS )N� )r �argsr r r r r r 9 s zLimitOverrunError.__reduce__r r r r r r / s r N)�__all__� BaseExceptionr � Exceptionr r �RuntimeErrorr �EOFErrorr r r r r r �<module> s