diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-11 22:08:55 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-11 22:08:55 (GMT) |
commit | 524359f9f7cf2cbd168bcc8464d05684b6774181 (patch) | |
tree | 84731acdabfab4f4988329cf0d1fed11ac877a3d /Lib/functools.py | |
parent | ef4a03fffec57617e4c3396046960f49c463f5df (diff) | |
download | cpython-524359f9f7cf2cbd168bcc8464d05684b6774181.zip cpython-524359f9f7cf2cbd168bcc8464d05684b6774181.tar.gz cpython-524359f9f7cf2cbd168bcc8464d05684b6774181.tar.bz2 |
Add comment.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |