Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 352cc8c

Browse files
committed
Another nit.
1 parent f2c17a9 commit 352cc8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def wrapper(*args, **kwds):
285285
link = [last, root, key, result]
286286
last[NEXT] = root[PREV] = cache[key] = link
287287
currsize += 1
288-
full = (currsize == maxsize)
288+
full = (currsize >= maxsize)
289289
misses += 1
290290
return result
291291

0 commit comments

Comments
 (0)