diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-22 14:55:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 14:55:07 +0300 |
commit | ae00fb1d4f38ea1803b10d798564740adcdad63e (patch) | |
tree | 9770377ec2e9fe879d44d87d908e8e0629aa1bfb /Lib/json/scanner.py | |
parent | 55bfe690d570958a66ee6c7b15fc8daca0f9c2d3 (diff) | |
download | cpython-git-ae00fb1d4f38ea1803b10d798564740adcdad63e.tar.gz |
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
Diffstat (limited to 'Lib/json/scanner.py')
-rw-r--r-- | Lib/json/scanner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/scanner.py b/Lib/json/scanner.py index c451ebab58..7a61cfc2d2 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 |