(thread: PyThread, native_mode: NativeReportingMode)
| 13 | |
| 14 | |
| 15 | def print_thread(thread: PyThread, native_mode: NativeReportingMode) -> None: |
| 16 | for line in format_thread(thread, native_mode): |
| 17 | print(line, file=sys.stdout, flush=True) |
| 18 | |
| 19 | |
| 20 | def format_frame(frame: PyFrame) -> Iterable[str]: |