diff options
author | Ezio Melotti <none@none> | 2011-04-13 07:04:18 +0300 |
---|---|---|
committer | Ezio Melotti <none@none> | 2011-04-13 07:04:18 +0300 |
commit | c753305180db1e24029be7cfc4d8774167876c00 (patch) | |
tree | a332efb9863dcff3cb01b574185efb7b3277743e /Lib/json/scanner.py | |
parent | 4f95a52fe24cd136da5634747d5334c86d400d2d (diff) | |
download | cpython-git-c753305180db1e24029be7cfc4d8774167876c00.tar.gz |
#9233: Fix json to work properly even when _json is not available.
Diffstat (limited to 'Lib/json/scanner.py')
-rw-r--r-- | Lib/json/scanner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/json/scanner.py b/Lib/json/scanner.py index b4f356146f..f94d236149 100644 --- a/Lib/json/scanner.py +++ b/Lib/json/scanner.py @@ -22,6 +22,7 @@ def py_make_scanner(context): parse_int = context.parse_int parse_constant = context.parse_constant object_hook = context.object_hook + object_pairs_hook = context.object_pairs_hook def _scan_once(string, idx): try: |