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

Method handler

IPython/core/ultratb.py:1052–1059  ·  view source on GitHub ↗
(self, info=None)

Source from the content-addressed store, hash-verified

1050 del self.tb
1051
1052 def handler(self, info=None):
1053 (etype, evalue, etb) = info or sys.exc_info()
1054 self.tb = etb
1055 ostream = self.ostream
1056 ostream.flush()
1057 ostream.write(self.text(etype, evalue, etb)) # type:ignore[arg-type]
1058 ostream.write("\n")
1059 ostream.flush()
1060
1061 # Changed so an instance can just be called as VerboseTB_inst() and print
1062 # out the right info on its own.

Callers 1

__call__Method · 0.95

Calls 3

flushMethod · 0.45
writeMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected