]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove outdated and confusing advice about setting maxsize (GH-19889)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 3 May 2020 23:45:13 +0000 (16:45 -0700)
committerGitHub <noreply@github.com>
Sun, 3 May 2020 23:45:13 +0000 (16:45 -0700)
Doc/library/functools.rst

index e708a0d99cd004095d6a3841dfa3a96cbdeafe9b..856c1c790ae36164a99949b61957f76489cdc9a7 100644 (file)
@@ -107,8 +107,7 @@ The :mod:`functools` module defines the following functions:
            return sum(sentence.count(vowel) for vowel in 'aeiou')
 
    If *maxsize* is set to ``None``, the LRU feature is disabled and the cache can
-   grow without bound.  The LRU feature performs best when *maxsize* is a
-   power-of-two.
+   grow without bound.
 
    If *typed* is set to true, function arguments of different types will be
    cached separately.  For example, ``f(3)`` and ``f(3.0)`` will be treated