[Python-checkins] Fix typo in argparse docs. (GH-92691)
miss-islington
webhook-mailer at python.org
Wed May 11 23:25:49 EDT 2022
https://github.com/python/cpython/commit/f67d71b431af064409c1f41f6d73becee01882ae
commit: f67d71b431af064409c1f41f6d73becee01882ae
branch: main
author: thueringa <thueringa at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-05-11T20:25:09-07:00
summary:
Fix typo in argparse docs. (GH-92691)
# Fix typo in argparse docs.
> Sometimes, when dealing with **a** particularly long argument list**s**, [...]
Mixture between plural and singular forms is incorrect. Use singular consistently since typically only a single argument list is employed. Change to:
> Sometimes, when dealing with a particularly long argument list, [...]
No issue was opened, since this is a trivial change.
Automerge-Triggered-By: GH:rhettinger
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index b5a2b794c2385..1f40e4a84505d 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -555,7 +555,7 @@ disallowed.
fromfile_prefix_chars
^^^^^^^^^^^^^^^^^^^^^
-Sometimes, when dealing with a particularly long argument lists, it
+Sometimes, when dealing with a particularly long argument list, it
may make sense to keep the list of arguments in a file rather than typing it out
at the command line. If the ``fromfile_prefix_chars=`` argument is given to the
:class:`ArgumentParser` constructor, then arguments that start with any of the
More information about the Python-checkins
mailing list