mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
This commit is contained in:
parent
55bfe690d5
commit
ae00fb1d4f
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue