massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / getopt.pyi
1 def getopt(args: list[str], shortopts: str, longopts: list[str] = ...) -> tuple[list[tuple[str, str]], list[str]]: ...
2 def gnu_getopt(args: list[str], shortopts: str, longopts: list[str] = ...) -> tuple[list[tuple[str, str]], list[str]]: ...
3
4 class GetoptError(Exception):
5     msg: str
6     opt: str
7     def __init__(self, msg: str, opt: str = ...) -> None: ...
8
9 error = GetoptError