massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / tabnanny.pyi
1 # Stubs for tabnanny (Python 2 and 3)\r
2 \r
3 import os\r
4 import sys\r
5 from typing import Iterable, Tuple, Union\r
6 \r
7 if sys.version_info >= (3, 6):\r
8     _Path = Union[str, bytes, os.PathLike]\r
9 else:\r
10     _Path = Union[str, bytes]\r
11 \r
12 verbose = ...  # type: int\r
13 filename_only = ...  # type: int\r
14 \r
15 class NannyNag(Exception):\r
16     def __init__(self, lineno: int, msg: str, line: str) -> None: ...\r
17     def get_lineno(self) -> int: ...\r
18     def get_msg(self) -> str: ...\r
19     def get_line(self) -> str: ...\r
20 \r
21 def check(file: _Path) -> None: ...\r
22 def process_tokens(tokens: Iterable[Tuple[int, str, Tuple[int, int], Tuple[int, int], str]]) -> None: ...\r