summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index 11843b7..658081f 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -128,7 +128,8 @@ def lru_cache(maxsize=100):
def decorating_function(user_function, tuple=tuple, sorted=sorted,
len=len, KeyError=KeyError):
cache = OrderedDict() # ordered least recent to most recent
- cache_popitem, cache_renew = cache.popitem, cache._renew
+ cache_popitem = cache.popitem
+ cache_renew = cache._renew
kwd_mark = object() # separate positional and keyword args
lock = Lock()