massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / asyncio / exceptions.pyi
1 import sys
2
3 if sys.version_info >= (3, 8):
4     class CancelledError(BaseException): ...
5     class TimeoutError(Exception): ...
6     class InvalidStateError(Exception): ...
7     class SendfileNotAvailableError(RuntimeError): ...
8     class IncompleteReadError(EOFError):
9         expected: int | None
10         partial: bytes
11         def __init__(self, partial: bytes, expected: int | None) -> None: ...
12     class LimitOverrunError(Exception):
13         consumed: int
14         def __init__(self, message: str, consumed: int) -> None: ...