[Python-checkins] Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)
Miss Islington (bot)
webhook-mailer at python.org
Sun May 3 20:16:42 EDT 2020
https://github.com/python/cpython/commit/9609460ce0b71215eff2d057b6780950e00be013
commit: 9609460ce0b71215eff2d057b6780950e00be013
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-05-03T17:16:36-07:00
summary:
Remove outdated and confusing advice about setting maxsize (GH-19889) (GH-19890)
files:
M Doc/library/functools.rst
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 3a0b554e923c7..0fb8d900c7362 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
More information about the Python-checkins
mailing list