diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-28 00:00:41 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-12-28 00:00:41 (GMT) |
commit | 774715cd81635c88e9432f67dac7f67964539b78 (patch) | |
tree | d2e8f367074c357e9fd3abe63f7794ad61016203 /Doc/library/argparse.rst | |
parent | f823da1f0969fe50e265fdc905dfb78e03b39e1c (diff) | |
parent | 63ee149ca603008004932113a44b9e0e42dd8f09 (diff) | |
download | cpython-774715cd81635c88e9432f67dac7f67964539b78.zip cpython-774715cd81635c88e9432f67dac7f67964539b78.tar.gz cpython-774715cd81635c88e9432f67dac7f67964539b78.tar.bz2 |
#16796: merge with 3.3.
Diffstat (limited to 'Doc/library/argparse.rst')
-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 584f4f7..c3aa541 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1459,7 +1459,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. |