commit | 524359f9f7cf2cbd168bcc8464d05684b6774181 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Jan 11 22:08:55 2011 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Jan 11 22:08:55 2011 +0000 |
tree | 84731acdabfab4f4988329cf0d1fed11ac877a3d | |
parent | ef4a03fffec57617e4c3396046960f49c463f5df [diff] |
Add comment.
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 @@ 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