Return formatted traceback. Subclasses may override this if they add extra arguments.
(self, etype, value, tb, tb_offset=None, context=5)
| 578 | return '\n'.join(stb) |
| 579 | |
| 580 | def text(self, etype, value, tb, tb_offset=None, context=5): |
| 581 | """Return formatted traceback. |
| 582 | |
| 583 | Subclasses may override this if they add extra arguments. |
| 584 | """ |
| 585 | tb_list = self.structured_traceback(etype, value, tb, |
| 586 | tb_offset, context) |
| 587 | return self.stb2text(tb_list) |
| 588 | |
| 589 | def structured_traceback(self, etype, evalue, tb, tb_offset=None, |
| 590 | context=5, mode=None): |