MCPcopy Create free account
hub / github.com/ipython/ipython / get_exception_only

Method get_exception_only

IPython/core/ultratb.py:815–823  ·  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

813 return list
814
815 def get_exception_only(self, etype, value):
816 """Only print the exception type and message, without a traceback.
817
818 Parameters
819 ----------
820 etype : exception type
821 value : exception value
822 """
823 return ListTB.structured_traceback(self, etype, value)
824
825 def show_exception_only(self, etype, evalue):
826 """Only print the exception type and message, without a traceback.

Callers 4

show_exception_onlyMethod · 0.95
interactionMethod · 0.45
structured_tracebackMethod · 0.45

Calls 1

structured_tracebackMethod · 0.45

Tested by 1