commit | 352cc8cfc38e0233b0a0051761afcfd842367b95 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Mar 04 04:19:09 2013 -0500 |
committer | Raymond Hettinger <python@rcn.com> | Mon Mar 04 04:19:09 2013 -0500 |
tree | 663995792a46ae94293b1041865f99847e0f68cf | |
parent | f2c17a9276e5793b4a0e9e84a338a1c874ddd01c [diff] [blame] |
Another nit.
diff --git a/Lib/functools.py b/Lib/functools.py index 87c1b69..ba6f9cd 100644 --- a/Lib/functools.py +++ b/Lib/functools.py
@@ -285,7 +285,7 @@ link = [last, root, key, result] last[NEXT] = root[PREV] = cache[key] = link currsize += 1 - full = (currsize == maxsize) + full = (currsize >= maxsize) misses += 1 return result