Kaydet (Commit) dce583e0 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Minor beautification.

üst d845450e
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment