Skip to content

Commit a07190e

Browse files
Apply suggestions from code review
Co-authored-by: Adam Turner <[email protected]>
1 parent 06e1364 commit a07190e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functools.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ The :mod:`functools` module defines the following functions:
199199
and *typed*. This is for information purposes only. Mutating the values
200200
has no effect.
201201

202-
.. method:: functools.cache_info()
202+
.. method:: lru_cache.cache_info()
203203
:no-typesetting:
204204

205205
To help measure the effectiveness of the cache and tune the *maxsize*
206206
parameter, the wrapped function is instrumented with a :func:`!cache_info`
207207
function that returns a :term:`named tuple` showing *hits*, *misses*,
208208
*maxsize* and *currsize*.
209209

210-
.. method:: functools.cache_clear()
210+
.. method:: lru_cache.cache_clear()
211211
:no-typesetting:
212212

213213
The decorator also provides a :func:`!cache_clear` function for clearing or

0 commit comments

Comments
 (0)