Cmd2ExceptionConsole initializer. :param file: optional file object where the console should write to. Defaults to sys.stdout.
(self, *, file: IO[str] | None = None)
| 610 | """ |
| 611 | |
| 612 | def __init__(self, *, file: IO[str] | None = None) -> None: |
| 613 | """Cmd2ExceptionConsole initializer. |
| 614 | |
| 615 | :param file: optional file object where the console should write to. |
| 616 | Defaults to sys.stdout. |
| 617 | """ |
| 618 | super().__init__( |
| 619 | file=file, |
| 620 | soft_wrap=False, |
| 621 | markup=False, |
| 622 | emoji=False, |
| 623 | highlight=False, |
| 624 | ) |
| 625 | |
| 626 | |
| 627 | class Cmd2SimpleTable(Table): |