Provide types for ArgumentError members. (#4700)

This commit is contained in:
Paul
2020-10-25 03:02:58 +03:00
committed by GitHub
parent 9134f7bc3c
commit 820cc11256

View File

@@ -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