From: Raymond Hettinger Date: Tue, 11 Jan 2011 22:08:55 +0000 (+0000) Subject: Add comment. X-Git-Tag: v3.2rc1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=524359f9f7cf2cbd168bcc8464d05684b6774181;p=python Add comment. --- diff --git a/Lib/functools.py b/Lib/functools.py index 1062a452e6..03de69ae16 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