ok
Direktori : /opt/alt/python311/lib64/python3.11/asyncio/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/asyncio/__pycache__/exceptions.cpython-311.pyc |
� �f� � � � d Z dZ G d� de� � ZeZ G d� de� � Z G d� de� � Z G d� d e � � Z G d � de� � Z G d� d e� � ZdS )zasyncio exceptions.)�BrokenBarrierError�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc � � e Zd ZdZdS )r z!The Future or Task was cancelled.N��__name__� __module__�__qualname__�__doc__� � �9/opt/alt/python311/lib64/python3.11/asyncio/exceptions.pyr r s � � � � � �+�+�+�+r r c � � e Zd ZdZdS )r z+The operation is not allowed in this state.Nr r r r r r s � � � � � �5�5�5�5r r c � � e Zd ZdZdS )r z~Sendfile syscall is not available. Raised if OS does not support sendfile syscall for given socket or file type. Nr r r r r r s � � � � � �� � � r r c �( � � e Zd ZdZ� fd�Zd� Z� xZS )r z� Incomplete read error. Attributes: - partial: read bytes string before the end of stream was reached - expected: total number of expected bytes (or None if unknown) c � �� |�dnt |� � }t � � � t |� � � d|� d�� � || _ || _ d S )N� undefinedz bytes read on a total of z expected bytes)�repr�super�__init__�len�partial�expected)�selfr r � r_expected� __class__s �r r zIncompleteReadError.__init__$ si �� �$,�$4�[�[�$�x�.�.� � �����C��L�L� 8� 8�&�8� 8� 8� 9� 9� 9���� �� � � r c �<