[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:
parent
2783cc4262
commit
584ef2aecf
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue