Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ trace_call
Method
trace_call
Lib/test/test_sys_setprofile.py:66–68 ·
view source on GitHub ↗
(self, frame)
Source
from the content-addressed store, hash-verified
64
self.dispatch[event](self, frame)
65
66
def
trace_call(self, frame):
67
self.add_event(
'call'
, frame)
68
self.stack.append(frame)
69
70
def
trace_return(self, frame):
71
self.add_event(
'return'
, frame)
Callers
nothing calls this directly
Calls
2
add_event
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected