Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fccfcb

Browse files
committed
Minor rewording to docs for the lru_cache decorator
1 parent 554f334 commit 3fccfcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/functools.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ The :mod:`functools` module defines the following functions:
5555
The wrapped function also has a :attr:`clear` attribute which can be
5656
called (with no arguments) to clear the cache.
5757

58-
The :attr:`__wrapped__` attribute may be used to access the original
59-
function (e.g. to bypass the cache or to apply a different caching
60-
strategy)
58+
The original underlying function is accessible through the
59+
:attr:`__wrapped__` attribute. This allows introspection, bypassing
60+
the cache, or rewrapping the function with a different caching tool.
6161

6262
A `LRU (least recently used) cache
6363
<http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used>`_

0 commit comments

Comments
 (0)