From: Serhiy Storchaka Date: Sat, 27 May 2017 13:11:18 +0000 (+0300) Subject: Fix the signature of JSONDecodeError (no end parameter). (#1827) X-Git-Tag: v3.7.0a1~732 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5becf38a03e53a7c2a996285c7bf0ac5e2ef7d2a;p=python Fix the signature of JSONDecodeError (no end parameter). (#1827) Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 8103c614aa..fdbdcb169f 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -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: