mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Minor beautification.
This commit is contained in:
parent
d845450eef
commit
dce583e0bd
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue