]> 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:20 +0000 (07:07 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Sep 2021 14:07:20 +0000 (07:07 -0700)
"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 6c01667b961861893de9a47ac73f480e61aae4a4..fa731fec3a85a61ecc1e18311766fba2029a9d99 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.