Skip to content

Commit 98b2340

Browse files
Add defaults to add_parser
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent ffca419 commit 98b2340

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stdlib/argparse.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ class _SubParsersAction(Action, Generic[_ArgumentParserT]):
717717
add_help: bool = ...,
718718
allow_abbrev: bool = ...,
719719
exit_on_error: bool = ...,
720-
suggest_on_error: bool = ...,
721-
color: bool = ...,
720+
suggest_on_error: bool = False,
721+
color: bool = False,
722722
**kwargs: Any, # Accepting any additional kwargs for custom parser classes
723723
) -> _ArgumentParserT: ...
724724
if sys.version_info >= (3, 13):

0 commit comments

Comments
 (0)