mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Provide types for ArgumentError members. (#4700)
This commit is contained in:
@@ -38,6 +38,8 @@ ZERO_OR_MORE: str
|
||||
_UNRECOGNIZED_ARGS_ATTR: str # undocumented
|
||||
|
||||
class ArgumentError(Exception):
|
||||
argument_name: Optional[str]
|
||||
message: str
|
||||
def __init__(self, argument: Optional[Action], message: str) -> None: ...
|
||||
|
||||
# undocumented
|
||||
|
||||
Reference in New Issue
Block a user