[Python-checkins] cpython (merge 3.3 -> default): merge

raymond.hettinger python-checkins at python.org
Sat Mar 9 08:05:31 CET 2013


http://hg.python.org/cpython/rev/02ffc9f94aab
changeset:   82561:02ffc9f94aab
parent:      82559:f87346952c10
parent:      82560:a9fa8a18d18d
user:        Raymond Hettinger <python at rcn.com>
date:        Fri Mar 08 23:04:47 2013 -0800
summary:
  merge

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


diff --git a/Lib/functools.py b/Lib/functools.py
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -266,7 +266,7 @@
         elif maxsize is None:
 
             def wrapper(*args, **kwds):
-                # simple caching without ordering or size limit
+                # Simple caching without ordering or size limit
                 nonlocal hits, misses
                 key = make_key(args, kwds, typed)
                 result = cache_get(key, sentinel)
@@ -281,7 +281,7 @@
         else:
 
             def wrapper(*args, **kwds):
-                # size limited caching that tracks accesses by recency
+                # Size limited caching that tracks accesses by recency
                 nonlocal root, hits, misses, full
                 key = make_key(args, kwds, typed)
                 with lock:

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


More information about the Python-checkins mailing list