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

Method handler

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

Source from the content-addressed store, hash-verified

1269 del self.tb
1270
1271 def handler(self, info=None):
1272 (etype, evalue, etb) = info or sys.exc_info()
1273 self.tb = etb
1274 ostream = self.ostream
1275 ostream.flush()
1276 ostream.write(self.text(etype, evalue, etb))
1277 ostream.write('\n')
1278 ostream.flush()
1279
1280 # Changed so an instance can just be called as VerboseTB_inst() and print
1281 # 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