diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-05-27 13:37:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-27 13:37:25 (GMT) |
commit | d78ad17836cc4288b6bd0e3112da040ead6e9fbe (patch) | |
tree | fc7749722a4a5e7478eef423d98d95fc3e674cbf /Doc | |
parent | 89004d761361332314beb08b443bff5b092ec36e (diff) | |
download | cpython-d78ad17836cc4288b6bd0e3112da040ead6e9fbe.zip cpython-d78ad17836cc4288b6bd0e3112da040ead6e9fbe.tar.gz cpython-d78ad17836cc4288b6bd0e3112da040ead6e9fbe.tar.bz2 |
[3.5] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1829)
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
(cherry picked from commit 5becf38)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/json.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 517f9ce..30c2911 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -485,7 +485,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: |