File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1005,7 +1005,8 @@ def _SubParsersAction_add_existing_parser( # noqa: N802
10051005 :param self: instance of the _SubParsersAction being edited
10061006 :param name: name of the subcommand to add
10071007 :param subcmd_parser: the parser for this new subcommand
1008- :param add_parser_kwargs: registration-specific kwargs for add_parser() (e.g. help, aliases, deprecated)
1008+ :param add_parser_kwargs: registration-specific kwargs for add_parser()
1009+ (e.g. help, aliases, deprecated [Python 3.13+])
10091010 """
10101011 # Use add_parser to register the subcommand name and any aliases
10111012 self .add_parser (name , ** add_parser_kwargs )
Original file line number Diff line number Diff line change @@ -364,7 +364,8 @@ def as_subcommand_to(
364364 This is passed as the help argument to subparsers.add_parser().
365365 :param aliases: Alternative names for this subcommand. This is passed as the alias argument to
366366 subparsers.add_parser().
367- :param add_parser_kwargs: other registration-specific kwargs for add_parser() (e.g. deprecated)
367+ :param add_parser_kwargs: other registration-specific kwargs for add_parser()
368+ (e.g. deprecated [Python 3.13+])
368369 :return: Wrapper function that can receive an argparse.Namespace
369370 """
370371
You can’t perform that action at this time.
0 commit comments