massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / asyncio / exceptions.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/asyncio/exceptions.pyi
new file mode 100644 (file)
index 0000000..5b99966
--- /dev/null
@@ -0,0 +1,14 @@
+import sys
+
+if sys.version_info >= (3, 8):
+    class CancelledError(BaseException): ...
+    class TimeoutError(Exception): ...
+    class InvalidStateError(Exception): ...
+    class SendfileNotAvailableError(RuntimeError): ...
+    class IncompleteReadError(EOFError):
+        expected: int | None
+        partial: bytes
+        def __init__(self, partial: bytes, expected: int | None) -> None: ...
+    class LimitOverrunError(Exception):
+        consumed: int
+        def __init__(self, message: str, consumed: int) -> None: ...