mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user