mirror of
https://github.com/python/cpython.git
synced 2025-10-02 05:12:23 +00: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:
parent
08e2f355d0
commit
5becf38a03
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue