[Python-checkins] [doc] fix minor typo for argparse (GH-28451)

miss-islington webhook-mailer at python.org
Tue Sep 28 10:07:21 EDT 2021


https://github.com/python/cpython/commit/6d604494564e86436da207cc5ebd3d6823db988d
commit: 6d604494564e86436da207cc5ebd3d6823db988d
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-09-28T07:07:13-07:00
summary:

[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 at gmail.com>

files:
M Doc/library/argparse.rst

diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index a1b4bd0fcfd17..a056826774c5e 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.
 



More information about the Python-checkins mailing list