diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-27 23:59:24 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-27 23:59:24 (GMT) |
commit | 82ee30384c02d26293c41dbb64d9ac36d30bd888 (patch) | |
tree | d131fccc50d830cbd82af584057c43433fdc247e | |
parent | c90be30b0de9089e3abef0f288caf4a693f81356 (diff) | |
download | cpython-82ee30384c02d26293c41dbb64d9ac36d30bd888.zip cpython-82ee30384c02d26293c41dbb64d9ac36d30bd888.tar.gz cpython-82ee30384c02d26293c41dbb64d9ac36d30bd888.tar.bz2 |
#16796: fix typo. Patch by Michael Schurter.
-rw-r--r-- | Doc/library/argparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 2380a50..73d454e 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1439,7 +1439,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. |