diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 11:04:41 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 11:04:41 (GMT) |
commit | 0f0eac431f6abcc5f6853b26e848b15f848e8844 (patch) | |
tree | 3d671943461614610c236e3d3e8b3cfc98a2d18d /Doc/library/argparse.rst | |
parent | 0be894b2f6ca17204922399d6982f0b8a9dc59a1 (diff) | |
download | cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.zip cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.tar.gz cpython-0f0eac431f6abcc5f6853b26e848b15f848e8844.tar.bz2 |
Issue #27993: Fix problems with plural objects in docs and comments
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 995c4ee..fab0727 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -188,7 +188,7 @@ The following sections describe how each of these are used. prog ^^^^ -By default, :class:`ArgumentParser` objects uses ``sys.argv[0]`` to determine +By default, :class:`ArgumentParser` objects use ``sys.argv[0]`` to determine how to display the name of the program in help messages. This default is almost always desirable because it will make the help messages match how the program was invoked on the command line. For example, consider a file named @@ -558,7 +558,7 @@ conflict_handler ^^^^^^^^^^^^^^^^ :class:`ArgumentParser` objects do not allow two actions with the same option -string. By default, :class:`ArgumentParser` objects raises an exception if an +string. By default, :class:`ArgumentParser` objects raise an exception if an attempt is made to create an argument with an option string that is already in use:: |