@@ -1686,8 +1686,8 @@ Sub-commands
16861686 :param aliases: A list or sequence of strings that can be used as
16871687 alternative names for this sub-command (e.g., ``aliases=['r'] ``
16881688 for a ``'run' `` command).
1689- :param deprecated: If :const: `True `, marks the sub-command as deprecated,
1690- which typically issues a warning when used.
1689+ :param deprecated: If :const: `True `, marks the sub-command as deprecated,
1690+ which typically issues a warning when used.
16911691 :param kwargs: All other keyword arguments are passed directly to the
16921692 :class: `!ArgumentParser ` constructor.
16931693
@@ -1744,7 +1744,7 @@ Sub-commands
17441744 >>> parser.parse_args(['--foo', 'b', '--baz', 'Z'])
17451745 Namespace(baz='Z', foo=True)
17461746
1747- Note that the object returned by :meth: `parse_args ` will only contain
1747+ Note that the object returned by :meth: `~ArgumentParser. parse_args ` will only contain
17481748 attributes for the main parser and the subparser that was selected by the
17491749 command line (and not any other subparsers). So in the example above, when
17501750 the ``a `` command is specified, only the ``foo `` and ``bar `` attributes are
@@ -1755,7 +1755,7 @@ Sub-commands
17551755 for that particular parser will be printed. The help message will not
17561756 include parent parser or sibling parser messages. (A help message for each
17571757 subparser command, however, can be given by supplying the ``help= `` argument
1758- to :meth: ` ~_SubParsersAction. add_parser ` as above.)
1758+ to `` add_parser() ` ` as above.)
17591759
17601760 ::
17611761
@@ -1787,7 +1787,7 @@ Sub-commands
17871787 -h, --help show this help message and exit
17881788 --baz {X,Y,Z} baz help
17891789
1790- The :meth: `add_subparsers ` method also supports ``title `` and ``description ``
1790+ The :meth: `~ArgumentParser. add_subparsers ` method also supports ``title `` and ``description ``
17911791 keyword arguments. When either is present, the subparser's commands will
17921792 appear in their own group in the help output. For example::
17931793
0 commit comments