From ae00fb1d4f38ea1803b10d798564740adcdad63e Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 22 May 2018 14:55:07 +0300 Subject: bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048) --- Lib/json/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/json/scanner.py') diff --git a/Lib/json/scanner.py b/Lib/json/scanner.py index c451ebab584..7a61cfc2d24 100644 --- a/Lib/json/scanner.py +++ b/Lib/json/scanner.py @@ -68,6 +68,6 @@ def py_make_scanner(context): finally: memo.clear() - return _scan_once + return scan_once make_scanner = c_make_scanner or py_make_scanner -- cgit v1.2.3