MCPcopy Index your code
hub / github.com/ipython/ipython / get_exception_only

Method get_exception_only

IPython/core/ultratb.py:405–413  ·  view source on GitHub ↗

Only print the exception type and message, without a traceback. Parameters ---------- etype : exception type value : exception value

(self, etype, value)

Source from the content-addressed store, hash-verified

403 return output_list
404
405 def get_exception_only(self, etype, value):
406 """Only print the exception type and message, without a traceback.
407
408 Parameters
409 ----------
410 etype : exception type
411 value : exception value
412 """
413 return ListTB.structured_traceback(self, etype, value)
414
415 def structured_traceback_doctest(
416 self,

Callers 4

show_exception_onlyMethod · 0.95
interactionMethod · 0.45
structured_tracebackMethod · 0.45

Calls 1

structured_tracebackMethod · 0.45

Tested by 1