bundles / IPython 9.5.0 / IPython / core / ultratb / ListTB / show_exception_only
function
IPython.core.ultratb:ListTB.show_exception_only
source: /IPython/core/ultratb.py:408
Signature
def show_exception_only(self, etype: BaseException | None, evalue: TracebackType | None) → NoneSummary
Only print the exception type and message, without a traceback.
Parameters
etype: exception typeevalue: exception value
Aliases
IPython.core.ultratb.ListTB.show_exception_only