]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 May 2020 00:16:36 +0000 (17:16 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 00:16:36 +0000 (17:16 -0700)
Doc/library/functools.rst

index 3a0b554e923c7a62c639a0f770bbcd940792d0be..0fb8d900c7362713c4297200474be6c60cf97c25 100644 (file)
@@ -101,8 +101,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