diff options
author | Ezio Melotti <none@none> | 2011-04-13 04:04:18 (GMT) |
---|---|---|
committer | Ezio Melotti <none@none> | 2011-04-13 04:04:18 (GMT) |
commit | c753305180db1e24029be7cfc4d8774167876c00 (patch) | |
tree | a332efb9863dcff3cb01b574185efb7b3277743e /Lib/json/decoder.py | |
parent | 4f95a52fe24cd136da5634747d5334c86d400d2d (diff) | |
download | cpython-c753305180db1e24029be7cfc4d8774167876c00.zip cpython-c753305180db1e24029be7cfc4d8774167876c00.tar.gz cpython-c753305180db1e24029be7cfc4d8774167876c00.tar.bz2 |
#9233: Fix json to work properly even when _json is not available.
Diffstat (limited to 'Lib/json/decoder.py')
-rw-r--r-- | Lib/json/decoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/decoder.py b/Lib/json/decoder.py index d606cbd..7b3d7d5 100644 --- a/Lib/json/decoder.py +++ b/Lib/json/decoder.py @@ -214,7 +214,7 @@ def JSONObject(s_and_end, strict, scan_once, object_hook, object_pairs_hook, pairs = object_hook(pairs) return pairs, end -def JSONArray(s_and_end, scan_once, context, _w=WHITESPACE.match): +def JSONArray(s_and_end, scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR): s, end = s_and_end values = [] nextchar = s[end:end + 1] |