[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)
This commit is contained in:
Serhiy Storchaka 2017-05-27 16:37:11 +03:00 committed by GitHub
parent 2783cc4262
commit 584ef2aecf
1 changed files with 1 additions and 1 deletions

View File

@ -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: