mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
11 lines
352 B
Python
11 lines
352 B
Python
from typing import List, Tuple
|
|
|
|
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
|