Files
typeshed/stdlib/getopt.pyi
2021-02-23 10:04:51 +01:00

9 lines
320 B
Python

def getopt(args: list[str], shortopts: str, longopts: list[str] = ...) -> tuple[list[tuple[str, str]], list[str]]: ...
def gnu_getopt(args: list[str], shortopts: str, longopts: list[str] = ...) -> tuple[list[tuple[str, str]], list[str]]: ...
class GetoptError(Exception):
msg: str
opt: str
error = GetoptError