]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] fix minor typo for argparse (GH-28451)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 28 Sep 2021 14:07:13 +0000 (07:07 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Wed, 29 Sep 2021 11:29:33 +0000 (12:29 +0100)
"A JSONDecodeError" instead of "An JSONDecodeError".
(cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860)

Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
Doc/library/argparse.rst

index a1b4bd0fcfd17070f6f236ed4ee89d79fb78131b..a056826774c5e545a732510a68e7c062ec53e1fa 100644 (file)
@@ -1104,7 +1104,7 @@ Anything with more interesting error-handling or resource management should be
 done downstream after the arguments are parsed.
 
 For example, JSON or YAML conversions have complex error cases that require
-better reporting than can be given by the ``type`` keyword.  An
+better reporting than can be given by the ``type`` keyword.  A
 :exc:`~json.JSONDecodeError` would not be well formatted and a
 :exc:`FileNotFound` exception would not be handled at all.