diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-05-04 00:16:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 00:16:36 (GMT) |
commit | 9609460ce0b71215eff2d057b6780950e00be013 (patch) | |
tree | 9d0d9f5c8a9c5d972475aa3969f927b61129dca2 | |
parent | 108e45524d5b2d8aa0d7feb1e593ea061fb36ba4 (diff) | |
download | cpython-9609460ce0b71215eff2d057b6780950e00be013.zip cpython-9609460ce0b71215eff2d057b6780950e00be013.tar.gz cpython-9609460ce0b71215eff2d057b6780950e00be013.tar.bz2 |
Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)
-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 3a0b554..0fb8d90 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -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 |