mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -6,6 +6,6 @@ def gnu_getopt(args: list[str], shortopts: str, longopts: list[str] = ...) -> tu
|
||||
class GetoptError(Exception):
|
||||
msg: str
|
||||
opt: str
|
||||
def __init__(self, msg: str, opt: str = ...) -> None: ...
|
||||
def __init__(self, msg: str, opt: str = "") -> None: ...
|
||||
|
||||
error = GetoptError
|
||||
|
||||
Reference in New Issue
Block a user