Skip to content

Commit 9609460

Browse files
Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)
1 parent 108e455 commit 9609460

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/functools.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ The :mod:`functools` module defines the following functions:
101101
return sum(sentence.count(vowel) for vowel in 'aeiou')
102102

103103
If *maxsize* is set to ``None``, the LRU feature is disabled and the cache can
104-
grow without bound. The LRU feature performs best when *maxsize* is a
105-
power-of-two.
104+
grow without bound.
106105

107106
If *typed* is set to true, function arguments of different types will be
108107
cached separately. For example, ``f(3)`` and ``f(3.0)`` will be treated

0 commit comments

Comments
 (0)