Minor beautification.

This commit is contained in:
Raymond Hettinger 2012-03-16 22:12:20 -07:00
parent d845450eef
commit dce583e0bd
1 changed files with 1 additions and 1 deletions

View 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.