summaryrefslogtreecommitdiffstats
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 de30a92..331da3c 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -196,7 +196,7 @@ def lru_cache(maxsize=100, typed=False):
def wrapper(*args, **kwds):
# no caching, just do a statistics update after a successful call
nonlocal misses
- result = user_function(*args, **kwds)
+ result = user_function(*args, **kwds)
misses += 1
return result