Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f5139b

Browse files
committed
Root variable is not changed.
1 parent 202d1ad commit 4f5139b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def cache_info():
223223

224224
def cache_clear():
225225
"""Clear the cache and cache statistics"""
226-
nonlocal hits, misses, root
226+
nonlocal hits, misses
227227
with lock:
228228
cache.clear()
229229
root[:] = [root, root, None, None]

0 commit comments

Comments
 (0)