summaryrefslogtreecommitdiff
path: root/Lib/functools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index 3eb55c6458..19b7613918 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -175,7 +175,7 @@ def lru_cache(maxsize=100, typed=False):
# simple caching without ordering or size limit
nonlocal hits, misses
key = make_key(args, kwds, typed) if kwds or typed else args
- result = cache_get(key, root) # root used here as a unique not-found sentinel
+ result = cache_get(key, root) # root used here as a unique not-found sentinel
if result is not root:
hits += 1
return result