diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-05-03 23:45:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 23:45:13 (GMT) |
commit | ad9eaeab74b680830dbefc18e8fe3dec4677a21b (patch) | |
tree | abec7b7a881e1fd2d0f49f715f750bd8caf8704a | |
parent | d699d5e6178adca785a8701c32daf5e18fad0bf1 (diff) | |
download | cpython-ad9eaeab74b680830dbefc18e8fe3dec4677a21b.zip cpython-ad9eaeab74b680830dbefc18e8fe3dec4677a21b.tar.gz cpython-ad9eaeab74b680830dbefc18e8fe3dec4677a21b.tar.bz2 |
Remove outdated and confusing advice about setting maxsize (GH-19889)
-rw-r--r-- | Doc/library/functools.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index e708a0d..856c1c7 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -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 |