summaryrefslogtreecommitdiffstats
path: root/Lib/functools.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-09 07:22:03 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-09 07:22:03 (GMT)
commitb4f998a57fd964085ccc024c88cf73f8323feb40 (patch)
tree7d3c82401cfa86a415b657e911ca4406a1ceb9dc /Lib/functools.py
parentc75be9341d1bb557fb8a5beb04624451bc28c18b (diff)
parent36fe22806ce162300044a4d09e47ae166d2084ef (diff)
downloadcpython-b4f998a57fd964085ccc024c88cf73f8323feb40.zip
cpython-b4f998a57fd964085ccc024c88cf73f8323feb40.tar.gz
cpython-b4f998a57fd964085ccc024c88cf73f8323feb40.tar.bz2
Merge heads
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 c436a52..fa11d2f 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: