MCPcopy Index your code
hub / github.com/python/cpython / clearcache

Function clearcache

Lib/linecache.py:17–19  ·  view source on GitHub ↗

Clear the cache entirely.

()

Source from the content-addressed store, hash-verified

15
16
17def clearcache():
18 """Clear the cache entirely."""
19 cache.clear()
20
21
22def getline(filename, lineno, module_globals=None):

Callers 1

getlinesFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…