mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Make the help argument of argparse.add_argument Optional. (#2046)
This commit is contained in:
committed by
Jelle Zijlstra
parent
db989427cb
commit
dca53fb2bd
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user