From 4885f49e7fcef35ad25c50f4c6876c56e2a9f545 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sun, 2 Feb 2014 11:11:01 -0500 Subject: whatsnew: filecmp.clear_cache, and reword description of cache in docs. --- Lib/filecmp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/filecmp.py') diff --git a/Lib/filecmp.py b/Lib/filecmp.py index 328528871a..dd5a2af46d 100644 --- a/Lib/filecmp.py +++ b/Lib/filecmp.py @@ -43,8 +43,8 @@ def cmp(f1, f2, shallow=True): True if the files are the same, False otherwise. This function uses a cache for past comparisons and the results, - with a cache invalidation mechanism relying on stale signatures - or by explicitly calling clear_cache(). + with cache entries invalidated if their stat information + changes. The cache may be cleared by calling clear_cache(). """ -- cgit v1.2.1