Kaydet (Commit) 5becf38a authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka Kaydeden (comit) GitHub

Fix the signature of JSONDecodeError (no end parameter). (#1827)

Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument.
üst 08e2f355
...@@ -503,7 +503,7 @@ Encoders and Decoders ...@@ -503,7 +503,7 @@ Encoders and Decoders
Exceptions Exceptions
---------- ----------
.. exception:: JSONDecodeError(msg, doc, pos, end=None) .. exception:: JSONDecodeError(msg, doc, pos)
Subclass of :exc:`ValueError` with the following additional attributes: Subclass of :exc:`ValueError` with the following additional attributes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment