Skip to content

Commit dca53fb

Browse files
chrisgavinJelleZijlstra
authored andcommitted
Make the help argument of argparse.add_argument Optional. (#2046)
1 parent db98942 commit dca53fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/2and3/argparse.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class _ActionsContainer:
6060
type: Union[Callable[[_Text], _T], FileType] = ...,
6161
choices: Iterable[_T] = ...,
6262
required: bool = ...,
63-
help: _Text = ...,
63+
help: Optional[_Text] = ...,
6464
metavar: Union[_Text, Tuple[_Text, ...]] = ...,
6565
dest: Optional[_Text] = ...,
6666
version: _Text = ...) -> Action: ...

0 commit comments

Comments
 (0)