]> granicus.if.org Git - python/commitdiff
Minor beautification.
authorRaymond Hettinger <python@rcn.com>
Sat, 17 Mar 2012 05:12:20 +0000 (22:12 -0700)
committerRaymond Hettinger <python@rcn.com>
Sat, 17 Mar 2012 05:12:20 +0000 (22:12 -0700)
Lib/functools.py

index fec4b9e7036aa2c2a71281436c6edebfd9f609d9..dd653f471ca8842a777dce69a9b2d8211eb86c60 100644 (file)
@@ -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.