PyDocs

Nav

Custom Python Interpreters

InteractiveInterpreter.showtraceback

  • InteractiveInterpreter.showtraceback()
Display the exception that just occurred.

We remove the first stack item because it is our own code.

The output is written by self.write(), below.
Changed in 3.5
  • 3.5: The full chained traceback is displayed instead of just the primary traceback.
0 Examples
No examples for code/InteractiveInterpreter.showtraceback.
See Also
No see-alsos for code/InteractiveInterpreter.showtraceback
0 Notes
No notes for InteractiveInterpreter.showtraceback