]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in argparse docs. (GH-92691)
authorthueringa <thueringa@users.noreply.github.com>
Thu, 12 May 2022 03:25:09 +0000 (05:25 +0200)
committerGitHub <noreply@github.com>
Thu, 12 May 2022 03:25:09 +0000 (20:25 -0700)
# 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
Doc/library/argparse.rst

index b5a2b794c2385f87acd9abf428986e928fba5ede..1f40e4a84505d2c76f024515c48b80ee5f3e0c0d 100644 (file)
@@ -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