summaryrefslogtreecommitdiffstats
path: root/Lib/json/decoder.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-21 21:03:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-21 21:03:20 (GMT)
commitaacd53f6cb96fe8c4fe9ce894f22e25f356a97c3 (patch)
tree4ba936a620bf3170ae9c7f74c35bf52142e40288 /Lib/json/decoder.py
parent43354375063662deda272b9a2d64cf53d6b748f3 (diff)
downloadcpython-aacd53f6cb96fe8c4fe9ce894f22e25f356a97c3.zip
cpython-aacd53f6cb96fe8c4fe9ce894f22e25f356a97c3.tar.gz
cpython-aacd53f6cb96fe8c4fe9ce894f22e25f356a97c3.tar.bz2
Issue #18726: All optional parameters of the dump(), dumps(),
load() and loads() functions and JSONEncoder and JSONDecoder class constructors in the json module are now keyword-only.
Diffstat (limited to 'Lib/json/decoder.py')
-rw-r--r--Lib/json/decoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/decoder.py b/Lib/json/decoder.py
index 0f03f20..2422c6a 100644
--- a/Lib/json/decoder.py
+++ b/Lib/json/decoder.py
@@ -280,7 +280,7 @@ class JSONDecoder(object):
"""
- def __init__(self, object_hook=None, parse_float=None,
+ def __init__(self, *, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, strict=True,
object_pairs_hook=None):
"""``object_hook``, if specified, will be called with the result