MCPcopy
hub / github.com/pallets/click / get_binary_stderr

Function get_binary_stderr

src/click/_compat.py:330–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328
329
330def get_binary_stderr() -> t.BinaryIO:
331 writer = _find_binary_writer(sys.stderr)
332 if writer is None:
333 raise RuntimeError("Was not able to determine binary stream for sys.stderr.")
334 return writer
335
336
337def get_text_stdin(encoding: str | None = None, errors: str | None = None) -> t.TextIO:

Callers

nothing calls this directly

Calls 1

_find_binary_writerFunction · 0.85

Tested by

no test coverage detected