From 524359f9f7cf2cbd168bcc8464d05684b6774181 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 11 Jan 2011 22:08:55 +0000 Subject: Add comment. --- Lib/functools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/functools.py b/Lib/functools.py index 1062a45..03de69a 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -141,7 +141,7 @@ def lru_cache(maxsize=100): hits = misses = 0 kwd_mark = object() # separates positional and keyword args - lock = Lock() + lock = Lock() # needed because ordereddicts aren't threadsafe if maxsize is None: cache = dict() # simple cache without ordering or size limit -- cgit v0.12