On this page
filecmp.clear_cache
Up: filecmp | Next: filecmp.cmp
Rel: filecmp.cmp, filecmp.cmpfiles, filecmp.dircmp
Ref: docs.python.org — filecmp.clear_cache
Tags: #public #python3 #stdlib #filecmp
Import
import filecmp
from filecmp import clear_cache
Signature & Overview
filecmp.clear_cache()
Clear the filecmp cache.
Usage
import filecmp
filecmp.clear_cache()
Gotchas
- Call in tests when rewriting files rapidly within the same filesystem timestamp tick.
REPL Inspect
from filecmp import clear_cache
help(clear_cache)
Linked from
Related notes
- tuts/python3/stdlib_module/filecmp/cmp Linked here; links to this page; shared tags: #filecmp, #stdlib
- tuts/python3/stdlib_module/filecmp/cmpfiles Linked here; links to this page; shared tags: #filecmp, #stdlib
- tuts/python3/stdlib_module/filecmp/dircmp Linked here; links to this page; shared tags: #filecmp, #stdlib
- tuts/python3/stdlib_module/filecmp Linked here; links to this page; shared tags: #stdlib
- tuts/c/stdlib shared tags: #stdlib
- tuts/c/stdlib/assert shared tags: #stdlib
- tuts/c/stdlib/assert/assert shared tags: #stdlib
- tuts/c/stdlib/assert/static_assert shared tags: #stdlib
- tuts/c/stdlib/ctype shared tags: #stdlib
- tuts/c/stdlib/ctype/isalpha shared tags: #stdlib