Skip to content

Commit

Permalink
[3.6] Fix the signature of JSONDecodeError (no end parameter). (GH-1827
Browse files Browse the repository at this point in the history
…) (#1828)

Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
(cherry picked from commit 5becf38)
  • Loading branch information
serhiy-storchaka committed May 27, 2017
1 parent 2783cc4 commit 584ef2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/json.rst
Expand Up @@ -503,7 +503,7 @@ Encoders and Decoders
Exceptions
----------

.. exception:: JSONDecodeError(msg, doc, pos, end=None)
.. exception:: JSONDecodeError(msg, doc, pos)

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

Expand Down

0 comments on commit 584ef2a

Please sign in to comment.