Commit 3fccfcb7 authored by Raymond Hettinger's avatar Raymond Hettinger

Minor rewording to docs for the lru_cache decorator

parent 554f3340
...@@ -55,9 +55,9 @@ The :mod:`functools` module defines the following functions: ...@@ -55,9 +55,9 @@ The :mod:`functools` module defines the following functions:
The wrapped function also has a :attr:`clear` attribute which can be The wrapped function also has a :attr:`clear` attribute which can be
called (with no arguments) to clear the cache. called (with no arguments) to clear the cache.
The :attr:`__wrapped__` attribute may be used to access the original The original underlying function is accessible through the
function (e.g. to bypass the cache or to apply a different caching :attr:`__wrapped__` attribute. This allows introspection, bypassing
strategy) the cache, or rewrapping the function with a different caching tool.
A `LRU (least recently used) cache A `LRU (least recently used) cache
<http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used>`_ <http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used>`_
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment