From: Serhiy Storchaka Date: Sat, 27 May 2017 13:37:25 +0000 (+0300) Subject: [3.5] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1829) X-Git-Tag: v3.5.4rc1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d78ad17836cc4288b6bd0e3112da040ead6e9fbe;p=python [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) --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 517f9cecfd..30c2911d90 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: