summaryrefslogtreecommitdiff
path: root/Lib/functools.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-03-08 23:04:47 -0800
committerRaymond Hettinger <python@rcn.com>2013-03-08 23:04:47 -0800
commitb24926063e7b9fc6ba1fe827e51514536c34daaa (patch)
tree8c591a85a6f55d378268d9ddc68c6df44668bfed /Lib/functools.py
parentcf5ce4aa06c84fe4a947938999803126f885c699 (diff)
parent2dc30d5e7463a0c59d7254e3c43a97bddaae2ad0 (diff)
downloadcpython-b24926063e7b9fc6ba1fe827e51514536c34daaa.tar.gz
merge
Diffstat (limited to 'Lib/functools.py')
-rw-r--r--Lib/functools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index c436a52d3d..fa11d2f27c 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -266,7 +266,7 @@ def lru_cache(maxsize=128, typed=False):
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 @@ def lru_cache(maxsize=128, typed=False):
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: