Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 584ef2a

Browse files
[3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1828)
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38)
1 parent 2783cc4 commit 584ef2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/json.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ Encoders and Decoders
503503
Exceptions
504504
----------
505505

506-
.. exception:: JSONDecodeError(msg, doc, pos, end=None)
506+
.. exception:: JSONDecodeError(msg, doc, pos)
507507

508508
Subclass of :exc:`ValueError` with the following additional attributes:
509509

0 commit comments

Comments
 (0)