diff options
author | Raymond Hettinger <python@rcn.com> | 2012-03-17 05:12:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-03-17 05:12:20 (GMT) |
commit | dce583e0bdb63b7b98b748b4ad12d1fbdb22462b (patch) | |
tree | 59369a2386dfe960ca1441a94e79337195b802d1 /Lib/functools.py | |
parent | d845450eeff9f2c86de7ef950b67de7f6aedd0b1 (diff) | |
download | cpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.zip cpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.tar.gz cpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.tar.bz2 |
Minor beautification.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index fec4b9e..dd653f4 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -120,7 +120,7 @@ try: except ImportError: pass -_CacheInfo = namedtuple("CacheInfo", "hits misses maxsize currsize") +_CacheInfo = namedtuple("CacheInfo", ["hits", "misses", "maxsize", "currsize"]) def lru_cache(maxsize=100, typed=False): """Least-recently-used cache decorator. |