We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e1364 commit a07190eCopy full SHA for a07190e
1 file changed
Doc/library/functools.rst
@@ -199,15 +199,15 @@ The :mod:`functools` module defines the following functions:
199
and *typed*. This is for information purposes only. Mutating the values
200
has no effect.
201
202
- .. method:: functools.cache_info()
+ .. method:: lru_cache.cache_info()
203
:no-typesetting:
204
205
To help measure the effectiveness of the cache and tune the *maxsize*
206
parameter, the wrapped function is instrumented with a :func:`!cache_info`
207
function that returns a :term:`named tuple` showing *hits*, *misses*,
208
*maxsize* and *currsize*.
209
210
- .. method:: functools.cache_clear()
+ .. method:: lru_cache.cache_clear()
211
212
213
The decorator also provides a :func:`!cache_clear` function for clearing or
0 commit comments