An entry in a traceback in native style. Emits the lines as is. The lines are assumed to include the line separators. [Note that we currently use a single "entry" for the entire native traceback, so this is a bit misleading, but there's no point trying to parse or split a native tr
| 1374 | |
| 1375 | @dataclasses.dataclass(eq=False) |
| 1376 | class ReprEntryNative(TerminalRepr): |
| 1377 | """An entry in a traceback in native style. |
| 1378 | |
| 1379 | Emits the lines as is. The lines are assumed to include the line separators. |
| 1380 | |
| 1381 | [Note that we currently use a single "entry" for the entire native |
| 1382 | traceback, so this is a bit misleading, but there's no point trying to parse |
| 1383 | or split a native traceback.] |
| 1384 | """ |
| 1385 | |
| 1386 | lines: Sequence[str] |
| 1387 | |
| 1388 | style: ClassVar[TracebackStyle] = "native" |
| 1389 | |
| 1390 | def toterminal(self, tw: TerminalWriter) -> None: |
| 1391 | tw.write("".join(self.lines)) |
| 1392 | |
| 1393 | |
| 1394 | @dataclasses.dataclass(eq=False) |
no outgoing calls
no test coverage detected