summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-27 13:37:11 (GMT)
committerGitHub <noreply@github.com>2017-05-27 13:37:11 (GMT)
commit584ef2aecfdaaf753e3959a8ceb0ea745189ddeb (patch)
treecdc6cb3b92fe6b18d1070b078d50b9259fb332d5 /Doc
parent2783cc42629b9445ea848ce36bbf213ef7789271 (diff)
downloadcpython-584ef2aecfdaaf753e3959a8ceb0ea745189ddeb.zip
cpython-584ef2aecfdaaf753e3959a8ceb0ea745189ddeb.tar.gz
cpython-584ef2aecfdaaf753e3959a8ceb0ea745189ddeb.tar.bz2
[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)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/json.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 8103c61..fdbdcb1 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: