summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-28 14:07:13 (GMT)
committerGitHub <noreply@github.com>2021-09-28 14:07:13 (GMT)
commit6d604494564e86436da207cc5ebd3d6823db988d (patch)
treee11578737df847ef59ddd5fb53d4249134adb1fc /Doc
parentfd52afd1928643a715202147b1ce5b0d130ec252 (diff)
downloadcpython-6d604494564e86436da207cc5ebd3d6823db988d.zip
cpython-6d604494564e86436da207cc5ebd3d6823db988d.tar.gz
cpython-6d604494564e86436da207cc5ebd3d6823db988d.tar.bz2
[doc] fix minor typo for argparse (GH-28451)
"A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/argparse.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index a1b4bd0..a056826 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -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.