mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Merge
This commit is contained in:
commit
bb5f48008d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue