Skip to content

Commit d78ad17

Browse files
[3.5] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1829)
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38)
1 parent 89004d7 commit d78ad17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/json.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ Encoders and Decoders
485485
Exceptions
486486
----------
487487

488-
.. exception:: JSONDecodeError(msg, doc, pos, end=None)
488+
.. exception:: JSONDecodeError(msg, doc, pos)
489489

490490
Subclass of :exc:`ValueError` with the following additional attributes:
491491

0 commit comments

Comments
 (0)