massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / tabnanny.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/tabnanny.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/tabnanny.pyi
new file mode 100644 (file)
index 0000000..1fefa19
--- /dev/null
@@ -0,0 +1,22 @@
+# Stubs for tabnanny (Python 2 and 3)\r
+\r
+import os\r
+import sys\r
+from typing import Iterable, Tuple, Union\r
+\r
+if sys.version_info >= (3, 6):\r
+    _Path = Union[str, bytes, os.PathLike]\r
+else:\r
+    _Path = Union[str, bytes]\r
+\r
+verbose = ...  # type: int\r
+filename_only = ...  # type: int\r
+\r
+class NannyNag(Exception):\r
+    def __init__(self, lineno: int, msg: str, line: str) -> None: ...\r
+    def get_lineno(self) -> int: ...\r
+    def get_msg(self) -> str: ...\r
+    def get_line(self) -> str: ...\r
+\r
+def check(file: _Path) -> None: ...\r
+def process_tokens(tokens: Iterable[Tuple[int, str, Tuple[int, int], Tuple[int, int], str]]) -> None: ...\r