massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / werkzeug / debug / console.pyi
1 from typing import Any\r
2 import code\r
3 \r
4 class HTMLStringO:\r
5     def __init__(self): ...\r
6     def isatty(self): ...\r
7     def close(self): ...\r
8     def flush(self): ...\r
9     def seek(self, n, mode=0): ...\r
10     def readline(self): ...\r
11     def reset(self): ...\r
12     def write(self, x): ...\r
13     def writelines(self, x): ...\r
14 \r
15 class ThreadedStream:\r
16     @staticmethod\r
17     def push(): ...\r
18     @staticmethod\r
19     def fetch(): ...\r
20     @staticmethod\r
21     def displayhook(obj): ...\r
22     def __setattr__(self, name, value): ...\r
23     def __dir__(self): ...\r
24     def __getattribute__(self, name): ...\r
25 \r
26 class _ConsoleLoader:\r
27     def __init__(self): ...\r
28     def register(self, code, source): ...\r
29     def get_source_by_code(self, code): ...\r
30 \r
31 class _InteractiveConsole(code.InteractiveInterpreter):\r
32     globals = ...  # type: Any\r
33     more = ...  # type: Any\r
34     buffer = ...  # type: Any\r
35     def __init__(self, globals, locals): ...\r
36     def runsource(self, source): ...\r
37     def runcode(self, code): ...\r
38     def showtraceback(self): ...\r
39     def showsyntaxerror(self, filename=None): ...\r
40     def write(self, data): ...\r
41 \r
42 class Console:\r
43     def __init__(self, globals=None, locals=None): ...\r
44     def eval(self, code): ...\r