mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove outdated and confusing advice about setting maxsize (GH-19889)
This commit is contained in:
parent
d699d5e617
commit
ad9eaeab74
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue