Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-03-21 09:12:34 +01:00
1 parent 151159709d
commit dd2818a41d
66 files changed
+246 -242

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
__all__ = ["GetoptError", "error", "getopt", "gnu_getopt"]
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]]: ...
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