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:
parent
08e2f355d0
commit
5becf38a03
|
@ -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