summaryrefslogtreecommitdiffstats
path: root/Lib/filecmp.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-02 16:11:01 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-02 16:11:01 (GMT)
commit4885f49e7fcef35ad25c50f4c6876c56e2a9f545 (patch)
treefe1b3367a3a5585596a2cd72f7e4df7eefe78138 /Lib/filecmp.py
parent70e04f5fbc0b62c4d1d04fd982204437120f791d (diff)
downloadcpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.zip
cpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.tar.gz
cpython-4885f49e7fcef35ad25c50f4c6876c56e2a9f545.tar.bz2
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
Diffstat (limited to 'Lib/filecmp.py')
-rw-r--r--Lib/filecmp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/filecmp.py b/Lib/filecmp.py
index 3285288..dd5a2af 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().
"""