From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 28 Sep 2021 14:07:20 +0000 (-0700) Subject: [doc] fix minor typo for argparse (GH-28451) X-Git-Tag: v3.9.8~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe7746c61a73f58f0cf905ad1378be884d479b5b;p=thirdparty%2FPython%2Fcpython.git [doc] fix minor typo for argparse (GH-28451) "A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 6c01667b9618..fa731fec3a85 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.