From db0133f98dd42d0fb82a7675bde175cec51bb860 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Tue, 28 Sep 2021 13:00:51 +0200 Subject: [PATCH] [doc] fix minor typo for argparse (GH-28451) "A JSONDecodeError" instead of "An JSONDecodeError". --- Doc/library/argparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index ac8a2fd6195..2edf84e5f04 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -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.