mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[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
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