From b76d7b315a8a455a29b11494daacb7a6489c2c24 Mon Sep 17 00:00:00 2001 From: Ilya Date: Sat, 8 Jul 2017 13:33:03 +0700 Subject: [PATCH] possible typo in scanner.py Should "py_make_scanner" return "scan_once" function rather than "_scan_once"? --- Lib/json/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/json/scanner.py b/Lib/json/scanner.py index c451ebab584255..7a61cfc2d24dce 100644 --- a/Lib/json/scanner.py +++ b/Lib/json/scanner.py @@ -68,6 +68,6 @@ def scan_once(string, idx): finally: memo.clear() - return _scan_once + return scan_once make_scanner = c_make_scanner or py_make_scanner