mirror of https://github.com/python/cpython.git
Merge
This commit is contained in:
commit
bb5f48008d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue