]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] fix minor typo for argparse (GH-28451)
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 28 Sep 2021 11:00:51 +0000 (13:00 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Sep 2021 11:00:51 +0000 (14:00 +0300)
"A JSONDecodeError" instead of "An JSONDecodeError".

Doc/library/argparse.rst

index ac8a2fd6195f40347a599f69289f2a85270a2787..2edf84e5f0444cf49b100c47639d490c287e2858 100644 (file)
@@ -1109,7 +1109,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.