(self, max_stacks=0)
| 74 | return stack[:max_stacks] |
| 75 | |
| 76 | def stack_trace(self, max_stacks=0): |
| 77 | if self._stack is None: |
| 78 | raise AssertionError("did not expect a call to `stack_trace`") |
| 79 | return self.__get_stack_trace(self._stack, max_stacks) |
| 80 | |
| 81 | def hybrid_stack_trace(self, max_stacks=0): |
| 82 | if self._hybrid_stack is None: |