Commit dce583e0 authored by Raymond Hettinger's avatar Raymond Hettinger

Minor beautification.

parent d845450e
...@@ -120,7 +120,7 @@ try: ...@@ -120,7 +120,7 @@ try:
except ImportError: except ImportError:
pass pass
_CacheInfo = namedtuple("CacheInfo", "hits misses maxsize currsize") _CacheInfo = namedtuple("CacheInfo", ["hits", "misses", "maxsize", "currsize"])
def lru_cache(maxsize=100, typed=False): def lru_cache(maxsize=100, typed=False):
"""Least-recently-used cache decorator. """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