Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ clear
Method
clear
Lib/profiling/sampling/live_collector/display.py:143–145 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
141
return
(self.height, self.width)
142
143
def
clear(self):
144
self.buffer.clear()
145
self.cleared = True
146
147
def
refresh(self):
148
self.refreshed = True
Callers
10
process_frames
Method · 0.45
__exit__
Method · 0.45
curses_wrapper_func
Function · 0.45
_process_frames
Method · 0.45
_finalize_markers
Method · 0.45
process_frames
Method · 0.45
_update_display
Method · 0.45
reset_stats
Method · 0.45
_show_terminal_size_warning_and_wait
Method · 0.45
init_curses
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected