(encoding: str | None = None, errors: str | None = None)
| 349 | |
| 350 | |
| 351 | def get_text_stderr(encoding: str | None = None, errors: str | None = None) -> t.TextIO: |
| 352 | rv = _get_windows_console_stream(sys.stderr, encoding, errors) |
| 353 | if rv is not None: |
| 354 | return rv |
| 355 | return _force_correct_text_writer(sys.stderr, encoding, errors, force_writable=True) |
| 356 | |
| 357 | |
| 358 | def _wrap_io_open( |
no test coverage detected