(cur: TracebackType)
| 333 | if isinstance(tb, TracebackType): |
| 334 | |
| 335 | def f(cur: TracebackType) -> Iterable[TracebackEntry]: |
| 336 | cur_: Optional[TracebackType] = cur |
| 337 | while cur_ is not None: |
| 338 | yield TracebackEntry(cur_, excinfo=excinfo) |
| 339 | cur_ = cur_.tb_next |
| 340 | |
| 341 | super().__init__(f(tb)) |
| 342 | else: |
nothing calls this directly
no test coverage detected