(encoding: str | None = None, errors: str | None = None)
| 342 | |
| 343 | |
| 344 | def get_text_stdout(encoding: str | None = None, errors: str | None = None) -> t.TextIO: |
| 345 | rv = _get_windows_console_stream(sys.stdout, encoding, errors) |
| 346 | if rv is not None: |
| 347 | return rv |
| 348 | return _force_correct_text_writer(sys.stdout, encoding, errors, force_writable=True) |
| 349 | |
| 350 | |
| 351 | def get_text_stderr(encoding: str | None = None, errors: str | None = None) -> t.TextIO: |
no test coverage detected