Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9a440309
Commit
9a440309
authored
Aug 17, 2010
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor rewording to docs for the lru_cache decorator
parent
d41744aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/functools.rst
Doc/library/functools.rst
+3
-3
No files found.
Doc/library/functools.rst
View file @
9a440309
...
...
@@ -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 cach
ing
strategy)
The
original underlying function is accessible through the
:attr:`__wrapped__` attribute. This allows introspection, bypass
ing
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>`_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment