reverted simplejson
This commit is contained in:
@@ -7,6 +7,7 @@ import struct
|
||||
from scanner import make_scanner
|
||||
def _import_c_scanstring():
|
||||
try:
|
||||
raise ImportError # because assumes simplejson in path
|
||||
from simplejson._speedups import scanstring
|
||||
return scanstring
|
||||
except ImportError:
|
||||
@@ -419,3 +420,4 @@ class JSONDecoder(object):
|
||||
except StopIteration:
|
||||
raise JSONDecodeError("No JSON object could be decoded", s, idx)
|
||||
return obj, end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user