def render_pyerr(self, output): # Note: a traceback is a *list* of frames. return ["::", "", indent(remove_ansi("\n".join(output.traceback))), ""]
def render_pyerr(self, output): # Note: a traceback is a *list* of frames. return self.in_env("traceback", self.in_env("verbatim", remove_ansi("\n".join(output.traceback))))
def render_pyerr(self, output): # Note: a traceback is a *list* of frames. return [indent(remove_ansi('\n'.join(output.traceback))), '']
def render_pyerr(self, output): # Note: a traceback is a *list* of frames. return self.in_env('traceback', self.in_env('verbatim', remove_ansi('\n'.join(output.traceback))))
def render_pyerr(self, output): # Note: a traceback is a *list* of frames. return self.in_env( 'traceback', self.in_env('verbatim', remove_ansi('\n'.join(output.traceback))))
def render_pyerr(self, output): return self.in_env('traceback', self.in_env('verbatim', remove_ansi('\n'.join(output.traceback))))