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

Skip to content

Commit 5becf38

Browse files
Fix the signature of JSONDecodeError (no end parameter). (#1827)
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
1 parent 08e2f35 commit 5becf38

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)