massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / util.pyi
1 from typing import Any\r
2 \r
3 xrange = ...  # type: Any\r
4 \r
5 class ObjectDict(dict):\r
6     def __getattr__(self, name): ...\r
7     def __setattr__(self, name, value): ...\r
8 \r
9 class GzipDecompressor:\r
10     decompressobj = ...  # type: Any\r
11     def __init__(self) -> None: ...\r
12     def decompress(self, value, max_length=...): ...\r
13     @property\r
14     def unconsumed_tail(self): ...\r
15     def flush(self): ...\r
16 \r
17 unicode_type = ...  # type: Any\r
18 basestring_type = ...  # type: Any\r
19 \r
20 def import_object(name): ...\r
21 \r
22 bytes_type = ...  # type: Any\r
23 \r
24 def errno_from_exception(e): ...\r
25 \r
26 class Configurable:\r
27     def __new__(cls, *args, **kwargs): ...\r
28     @classmethod\r
29     def configurable_base(cls): ...\r
30     @classmethod\r
31     def configurable_default(cls): ...\r
32     def initialize(self): ...\r
33     @classmethod\r
34     def configure(cls, impl, **kwargs): ...\r
35     @classmethod\r
36     def configured_class(cls): ...\r
37 \r
38 class ArgReplacer:\r
39     name = ...  # type: Any\r
40     arg_pos = ...  # type: Any\r
41     def __init__(self, func, name) -> None: ...\r
42     def get_old_value(self, args, kwargs, default=...): ...\r
43     def replace(self, new_value, args, kwargs): ...\r
44 \r
45 def timedelta_to_seconds(td): ...\r
46 def doctests(): ...\r