diff options
author | Raymond Hettinger <python@rcn.com> | 2010-12-01 00:47:56 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-12-01 00:47:56 (GMT) |
commit | 00f2f97dbd3db898e5d6c2368edc780a81e2e5fe (patch) | |
tree | dfa950c21ab861ef481a0cb2419e99192dec6382 /Lib/functools.py | |
parent | c0abc4e3a485f9c43c1d98be29d76f1738d8bd01 (diff) | |
download | cpython-00f2f97dbd3db898e5d6c2368edc780a81e2e5fe.zip cpython-00f2f97dbd3db898e5d6c2368edc780a81e2e5fe.tar.gz cpython-00f2f97dbd3db898e5d6c2368edc780a81e2e5fe.tar.bz2 |
Doc and docstring nits.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index c558a5e..0fbf3cd 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -121,9 +121,9 @@ def lru_cache(maxsize=100): Arguments to the cached function must be hashable. - View the cache statistics named tuple (maxsize, size, hits, misses) with + View the cache statistics named tuple (hits, misses, maxsize, currsize) with f.cache_info(). Clear the cache and statistics with f.cache_clear(). - And access the underlying function with f.__wrapped__. + Access the underlying function with f.__wrapped__. See: http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used |