MCPcopy 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_eventMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected