MCPcopy Index your code
hub / github.com/bpython/bpython / writetb

Method writetb

bpython/repl.py:201–205  ·  view source on GitHub ↗

This outputs the traceback and should be overridden for anything fancy.

(self, lines: Iterable[str])

Source from the content-addressed store, hash-verified

199 self.writetb(l)
200
201 def writetb(self, lines: Iterable[str]) -> None:
202 """This outputs the traceback and should be overridden for anything
203 fancy."""
204 for line in lines:
205 self.write(line)
206
207
208class MatchesIterator:

Callers 2

showsyntaxerrorMethod · 0.95
showtracebackMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected