Skip to content

Commit

Permalink
[doc] fix minor typo for argparse (GH-28451)
Browse files Browse the repository at this point in the history
"A JSONDecodeError" instead of "An JSONDecodeError".
  • Loading branch information
sbraz committed Sep 28, 2021
1 parent 8b7427b commit db0133f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/argparse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit db0133f

Please sign in to comment.