From 352cc8cfc38e0233b0a0051761afcfd842367b95 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 4 Mar 2013 04:19:09 -0500 Subject: [PATCH] Another nit. --- Lib/functools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/functools.py b/Lib/functools.py index 87c1b6992e2..ba6f9cd5d4a 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -285,7 +285,7 @@ def wrapper(*args, **kwds): link = [last, root, key, result] last[NEXT] = root[PREV] = cache[key] = link currsize += 1 - full = (currsize == maxsize) + full = (currsize >= maxsize) misses += 1 return result