diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2021-09-28 11:00:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 11:00:51 (GMT) |
commit | db0133f98dd42d0fb82a7675bde175cec51bb860 (patch) | |
tree | 8438c428abbf07786fd8f1e907292751f826e4eb /Doc/library/argparse.rst | |
parent | 8b7427b5541c6541e71136d184d7710fafac4ede (diff) | |
download | cpython-db0133f98dd42d0fb82a7675bde175cec51bb860.zip cpython-db0133f98dd42d0fb82a7675bde175cec51bb860.tar.gz cpython-db0133f98dd42d0fb82a7675bde175cec51bb860.tar.bz2 |
[doc] fix minor typo for argparse (GH-28451)
"A JSONDecodeError" instead of "An JSONDecodeError".
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index ac8a2fd..2edf84e 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. |