mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
[doc] fix minor typo for argparse (GH-28451)
"A JSONDecodeError" instead of "An JSONDecodeError".
This commit is contained in:
parent
8b7427b554
commit
db0133f98d
1 changed files with 1 additions and 1 deletions
|
|
@ -1109,7 +1109,7 @@ Anything with more interesting error-handling or resource management should be
|
||||||
done downstream after the arguments are parsed.
|
done downstream after the arguments are parsed.
|
||||||
|
|
||||||
For example, JSON or YAML conversions have complex error cases that require
|
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:`~json.JSONDecodeError` would not be well formatted and a
|
||||||
:exc:`FileNotFound` exception would not be handled at all.
|
:exc:`FileNotFound` exception would not be handled at all.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue