diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-05-27 13:11:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-27 13:11:18 (GMT) |
commit | 5becf38a03e53a7c2a996285c7bf0ac5e2ef7d2a (patch) | |
tree | 1991a84a10011c823271018ad40fbb233a963489 /Doc | |
parent | 08e2f355d04d3cbea5751ce1275306ee3f569b32 (diff) | |
download | cpython-5becf38a03e53a7c2a996285c7bf0ac5e2ef7d2a.zip cpython-5becf38a03e53a7c2a996285c7bf0ac5e2ef7d2a.tar.gz cpython-5becf38a03e53a7c2a996285c7bf0ac5e2ef7d2a.tar.bz2 |
Fix the signature of JSONDecodeError (no end parameter). (#1827)
Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
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 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: |