mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
#16796: fix typo. Patch by Michael Schurter.
This commit is contained in:
parent
3b3170447f
commit
52336f0b50
1 changed files with 1 additions and 1 deletions
|
@ -1440,7 +1440,7 @@ Sub-commands
|
|||
different functions which require different kinds of command-line arguments.
|
||||
:class:`ArgumentParser` supports the creation of such sub-commands with the
|
||||
:meth:`add_subparsers` method. The :meth:`add_subparsers` method is normally
|
||||
called with no arguments and returns an special action object. This object
|
||||
called with no arguments and returns a special action object. This object
|
||||
has a single method, :meth:`~ArgumentParser.add_parser`, which takes a
|
||||
command name and any :class:`ArgumentParser` constructor arguments, and
|
||||
returns an :class:`ArgumentParser` object that can be modified as usual.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue