summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2012-03-17 05:12:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2012-03-17 05:12:20 (GMT)
commitdce583e0bdb63b7b98b748b4ad12d1fbdb22462b (patch)
tree59369a2386dfe960ca1441a94e79337195b802d1 /Lib/functools.py
parentd845450eeff9f2c86de7ef950b67de7f6aedd0b1 (diff)
downloadcpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.zip
cpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.tar.gz
cpython-dce583e0bdb63b7b98b748b4ad12d1fbdb22462b.tar.bz2
Minor beautification.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py2
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.