#16796: merge with 3.2.

This commit is contained in:
Ezio Melotti 2012-12-28 02:00:22 +02:00
commit 63ee149ca6
1 changed files with 1 additions and 1 deletions

View File

@ -1459,7 +1459,7 @@ Sub-commands
different functions which require different kinds of command-line arguments. different functions which require different kinds of command-line arguments.
:class:`ArgumentParser` supports the creation of such sub-commands with the :class:`ArgumentParser` supports the creation of such sub-commands with the
:meth:`add_subparsers` method. The :meth:`add_subparsers` method is normally :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 has a single method, :meth:`~ArgumentParser.add_parser`, which takes a
command name and any :class:`ArgumentParser` constructor arguments, and command name and any :class:`ArgumentParser` constructor arguments, and
returns an :class:`ArgumentParser` object that can be modified as usual. returns an :class:`ArgumentParser` object that can be modified as usual.