Make the help argument of argparse.add_argument Optional. (#2046)

This commit is contained in:
Chris Gavin
2018-04-11 15:20:16 +01:00
committed by Jelle Zijlstra
parent db989427cb
commit dca53fb2bd

View File

@@ -60,7 +60,7 @@ class _ActionsContainer:
type: Union[Callable[[_Text], _T], FileType] = ...,
choices: Iterable[_T] = ...,
required: bool = ...,
help: _Text = ...,
help: Optional[_Text] = ...,
metavar: Union[_Text, Tuple[_Text, ...]] = ...,
dest: Optional[_Text] = ...,
version: _Text = ...) -> Action: ...