This commit is contained in:
Raymond Hettinger 2013-03-04 04:20:46 -05:00
commit bb5f48008d
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ def wrapper(*args, **kwds):
last = root[PREV]
link = [last, root, key, result]
last[NEXT] = root[PREV] = cache[key] = link
full = (len(cache) == maxsize)
full = (len(cache) >= maxsize)
misses += 1
return result