Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
17
def
clearcache():
18
""
"Clear the cache entirely."
""
19
cache.clear()
20
21
22
def
getline(filename, lineno, module_globals=None):
Callers
1
getlines
Function · 0.85
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…