mirror of https://github.com/python/cpython
[doc] fix minor typo for argparse (GH-28451)
"A JSONDecodeError" instead of "An JSONDecodeError".
This commit is contained in:
parent
8b7427b554
commit
db0133f98d
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue