massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / waitress / waitress / compat.pyi
1 from io import TextIOWrapper
2 from typing import Any
3
4 PY2: bool
5 PY3: bool
6 WIN: bool
7 string_types: tuple[str]
8 integer_types: tuple[int]
9 class_types: tuple[type]
10 text_type = str
11 binary_type = bytes
12 long = int
13
14 def unquote_bytes_to_wsgi(bytestring: bytes) -> str: ...
15 def text_(s: str, encoding: str = ..., errors: str = ...) -> str: ...
16 def tostr(s: str) -> str: ...
17 def tobytes(s: str) -> bytes: ...
18
19 exec_: Any
20
21 def reraise(tp: Any, value: BaseException, tb: str | None = ...) -> None: ...
22
23 MAXINT: int
24 HAS_IPV6: bool
25 IPPROTO_IPV6: int
26 IPV6_V6ONLY: int
27
28 def set_nonblocking(fd: TextIOWrapper) -> None: ...
29
30 ResourceWarning: Warning
31
32 def qualname(cls: Any) -> str: ...