summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-08-17 19:19:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-08-17 19:19:29 (GMT)
commit3fccfcb75198b51b378c3c3e76acc025f3f68496 (patch)
treeaac26a6952be7481da2cbd8384c32a7de65fbd1a /Doc
parent554f33407cd236ed523fff0adf5ae1463dfda067 (diff)
downloadcpython-3fccfcb75198b51b378c3c3e76acc025f3f68496.zip
cpython-3fccfcb75198b51b378c3c3e76acc025f3f68496.tar.gz
cpython-3fccfcb75198b51b378c3c3e76acc025f3f68496.tar.bz2
Minor rewording to docs for the lru_cache decorator
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functools.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 20bbe54..00ab624 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -55,9 +55,9 @@ The :mod:`functools` module defines the following functions:
The wrapped function also has a :attr:`clear` attribute which can be
called (with no arguments) to clear the cache.
- The :attr:`__wrapped__` attribute may be used to access the original
- function (e.g. to bypass the cache or to apply a different caching
- strategy)
+ The original underlying function is accessible through the
+ :attr:`__wrapped__` attribute. This allows introspection, bypassing
+ the cache, or rewrapping the function with a different caching tool.
A `LRU (least recently used) cache
<http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used>`_