diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-28 07:07:13 -0700 |
|---|---|---|
| committer | Pablo Galindo <pablogsal@gmail.com> | 2021-09-29 12:29:33 +0100 |
| commit | 03536d31c298b1ae889d1e39d5904f86336eede3 (patch) | |
| tree | fcde0d44a526b3a05db0c6b581ba0ba52141b856 | |
| parent | a8c3e0bfbe5d2b15fa1451bcb08383ea0dc1c762 (diff) | |
| download | cpython-git-03536d31c298b1ae889d1e39d5904f86336eede3.tar.gz | |
[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>
| -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 a1b4bd0fcf..a056826774 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. |
