(
text_writer: t.IO[t.Any],
encoding: str | None,
errors: str | None,
force_writable: bool = False,
)
| 298 | |
| 299 | |
| 300 | def _force_correct_text_writer( |
| 301 | text_writer: t.IO[t.Any], |
| 302 | encoding: str | None, |
| 303 | errors: str | None, |
| 304 | force_writable: bool = False, |
| 305 | ) -> t.TextIO: |
| 306 | return _force_correct_text_stream( |
| 307 | text_writer, |
| 308 | encoding, |
| 309 | errors, |
| 310 | _is_binary_writer, |
| 311 | _find_binary_writer, |
| 312 | force_writable=force_writable, |
| 313 | ) |
| 314 | |
| 315 | |
| 316 | def get_binary_stdin() -> t.BinaryIO: |
no test coverage detected
searching dependent graphs…