This is a development version (9.15.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.15.0.dev / IPython / core / magics / execution / ExecutionMagics / tb

function

IPython.core.magics.execution:ExecutionMagics.tb

source: /dev/ipython/IPython/core/magics/execution.py:508

Signature

def tb(self, s)

Summary

Print the last traceback.

Extended Summary

Optionally, specify an exception reporting mode, tuning the verbosity of the traceback. By default the currently-active exception mode is used. See %xmode for changing exception reporting modes.

Valid modes: Plain, Context, Verbose, and Minimal.

Aliases

  • IPython.core.magics.ExecutionMagics.tb