massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / getopt.pyi
1 from typing import List, Tuple\r
2 \r
3 class GetoptError(Exception):\r
4     opt = ...  # type: str\r
5     msg = ...  # type: str\r
6     def __init__(self, msg: str, opt: str=...) -> None: ...\r
7     def __str__(self) -> str: ...\r
8 \r
9 error = GetoptError\r
10 \r
11 def getopt(args: List[str], shortopts: str,\r
12            longopts: List[str]=...) -> Tuple[List[Tuple[str, str]],\r
13                                              List[str]]: ...\r
14 \r
15 def gnu_getopt(args: List[str], shortopts: str,\r
16            longopts: List[str]=...) -> Tuple[List[Tuple[str, str]],\r
17                                              List[str]]: ...\r