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

Method get_traceback

Lib/test/test_tracemalloc.py:1020–1025  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1018 tracemalloc.stop()
1019
1020 def get_traceback(self):
1021 frames = _testinternalcapi._PyTraceMalloc_GetTraceback(self.domain, self.ptr)
1022 if frames is not None:
1023 return tracemalloc.Traceback(frames)
1024 else:
1025 return None
1026
1027 def track(self, release_gil=False, nframe=1):
1028 frames = get_frames(nframe, 1)

Callers 4

check_trackMethod · 0.95
check_untrackMethod · 0.95
test_stop_trackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected