Skip to content

Commit fe7746c

Browse files
[doc] fix minor typo for argparse (GH-28451)
"A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f) Co-authored-by: Louis Sautier <[email protected]>
1 parent 813fbba commit fe7746c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ Anything with more interesting error-handling or resource management should be
11041104
done downstream after the arguments are parsed.
11051105

11061106
For example, JSON or YAML conversions have complex error cases that require
1107-
better reporting than can be given by the ``type`` keyword. An
1107+
better reporting than can be given by the ``type`` keyword. A
11081108
:exc:`~json.JSONDecodeError` would not be well formatted and a
11091109
:exc:`FileNotFound` exception would not be handled at all.
11101110

0 commit comments

Comments
 (0)