Fix the signature of JSONDecodeError (no end parameter). (#1827)

Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
This commit is contained in:
Serhiy Storchaka 2017-05-27 16:11:18 +03:00 committed by GitHub
parent 08e2f355d0
commit 5becf38a03

View file

@ -503,7 +503,7 @@ Encoders and Decoders
Exceptions Exceptions
---------- ----------
.. exception:: JSONDecodeError(msg, doc, pos, end=None) .. exception:: JSONDecodeError(msg, doc, pos)
Subclass of :exc:`ValueError` with the following additional attributes: Subclass of :exc:`ValueError` with the following additional attributes: