massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Werkzeug / werkzeug / debug / console.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/debug/console.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/debug/console.pyi
new file mode 100644 (file)
index 0000000..e1a1219
--- /dev/null
@@ -0,0 +1,44 @@
+import code
+from typing import Any
+
+class HTMLStringO:
+    def __init__(self): ...
+    def isatty(self): ...
+    def close(self): ...
+    def flush(self): ...
+    def seek(self, n, mode: int = ...): ...
+    def readline(self): ...
+    def reset(self): ...
+    def write(self, x): ...
+    def writelines(self, x): ...
+
+class ThreadedStream:
+    @staticmethod
+    def push(): ...
+    @staticmethod
+    def fetch(): ...
+    @staticmethod
+    def displayhook(obj): ...
+    def __setattr__(self, name, value): ...
+    def __dir__(self): ...
+    def __getattribute__(self, name): ...
+
+class _ConsoleLoader:
+    def __init__(self): ...
+    def register(self, code, source): ...
+    def get_source_by_code(self, code): ...
+
+class _InteractiveConsole(code.InteractiveInterpreter):
+    globals: Any
+    more: Any
+    buffer: Any
+    def __init__(self, globals, locals): ...
+    def runsource(self, source): ...
+    def runcode(self, code): ...
+    def showtraceback(self): ...
+    def showsyntaxerror(self, filename: Any | None = ...): ...
+    def write(self, data): ...
+
+class Console:
+    def __init__(self, globals: Any | None = ..., locals: Any | None = ...): ...
+    def eval(self, code): ...