'Return formatted traceback.
Subclasses may override this if they add extra arguments.'

def text(self, etype, value, tb, tb_offset=None, context=5):

    tb_list = self.structured_traceback(etype, value, tb, tb_offset, context)
    return self.stb2text(tb_list)
