(encoding: str | None = None, errors: str | None = None)
| 335 | |
| 336 | |
| 337 | def get_text_stdin(encoding: str | None = None, errors: str | None = None) -> t.TextIO: |
| 338 | rv = _get_windows_console_stream(sys.stdin, encoding, errors) |
| 339 | if rv is not None: |
| 340 | return rv |
| 341 | return _force_correct_text_reader(sys.stdin, encoding, errors, force_readable=True) |
| 342 | |
| 343 | |
| 344 | def get_text_stdout(encoding: str | None = None, errors: str | None = None) -> t.TextIO: |
no test coverage detected