[Python-checkins] cpython: Minor beautification.

raymond.hettinger python-checkins at python.org
Sat Mar 17 06:12:26 CET 2012


http://hg.python.org/cpython/rev/70672d21b9fd
changeset:   75775:70672d21b9fd
user:        Raymond Hettinger <python at rcn.com>
date:        Fri Mar 16 22:12:20 2012 -0700
summary:
  Minor beautification.

files:
  Lib/functools.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/functools.py b/Lib/functools.py
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -120,7 +120,7 @@
 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list