Skip to content

Commit a76954c

Browse files
Fix trailing whitespace
1 parent 7e6102a commit a76954c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Doc/library/argparse.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,19 +1676,19 @@ Sub-commands
16761676

16771677
.. method:: _SubParsersAction.add_parser(name, *, help=None, aliases=None, **kwargs)
16781678

1679-
Creates and returns a new :class:`!ArgumentParser` object for the
1680-
subcommand *name*.
1681-
1682-
:param name: The name of the sub-command.
1683-
:param help: A short description for this sub-command. If provided,
1684-
it will be listed next to the command in the main
1685-
parser's help message (e.g., ``PROG --help``).
1686-
:param aliases: A list or sequence of strings that can be used as
1687-
alternative names for this sub-command (e.g., ``aliases=['r']``
1688-
for a ``'run'`` command).
1689-
:param kwargs: All other keyword arguments are passed directly to the
1690-
:class:`!ArgumentParser` constructor.
1691-
This returned :class:`!ArgumentParser` object can be modified as usual.
1679+
Creates and returns a new :class:`!ArgumentParser` object for the
1680+
subcommand *name*.
1681+
1682+
:param name: The name of the sub-command.
1683+
:param help: A short description for this sub-command. If provided,
1684+
it will be listed next to the command in the main
1685+
parser's help message (e.g., ``PROG --help``).
1686+
:param aliases: A list or sequence of strings that can be used as
1687+
alternative names for this sub-command (e.g., ``aliases=['r']``
1688+
for a ``'run'`` command).
1689+
:param kwargs: All other keyword arguments are passed directly to the
1690+
:class:`!ArgumentParser` constructor.
1691+
This returned :class:`!ArgumentParser` object can be modified as usual.
16921692
Description of parameters:
16931693

16941694
* *title* - title for the sub-parser group in help output; by default

0 commit comments

Comments
 (0)