whatsnew: filecmp.clear_cache, and reword description of cache in docs.

This commit is contained in:
R David Murray 2014-02-02 11:11:01 -05:00
parent 70e04f5fbc
commit 4885f49e7f
3 changed files with 17 additions and 6 deletions

View file

@ -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().
"""