Method
__call__
(
self,
etype: type[BaseException],
evalue: BaseException | None,
etb: TracebackType | None,
)
Source from the content-addressed store, hash-verified
| 133 | list), instances of this class can't call the interactive pdb debugger.""" |
| 134 | |
| 135 | def __call__( |
| 136 | self, |
| 137 | etype: type[BaseException], |
| 138 | evalue: BaseException | None, |
| 139 | etb: TracebackType | None, |
| 140 | ) -> None: |
| 141 | self.ostream.flush() |
| 142 | self.ostream.write(self.text(etype, evalue, etb)) |
| 143 | self.ostream.write("\n") |
| 144 | |
| 145 | def _extract_tb(self, tb: TracebackType | None) -> traceback.StackSummary | None: |
| 146 | if tb: |
Tested by
no test coverage detected