def get_traceback(self):
    frames = _testcapi.tracemalloc_get_traceback(self.domain, self.ptr)
    if (frames is not None):
        return tracemalloc.Traceback(frames)
    else:
        return None
def get_traceback(self):
    frames = _testcapi.tracemalloc_get_traceback(self.domain, self.ptr)
    if (frames is not None):
        return tracemalloc.Traceback(frames)
    else:
        return None