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

Function get_binary_stdout

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

Source from the content-addressed store, hash-verified

321
322
323def get_binary_stdout() -> t.BinaryIO:
324 writer = _find_binary_writer(sys.stdout)
325 if writer is None:
326 raise RuntimeError("Was not able to determine binary stream for sys.stdout.")
327 return writer
328
329
330def get_binary_stderr() -> t.BinaryIO:

Callers 1

open_streamFunction · 0.85

Calls 1

_find_binary_writerFunction · 0.85

Tested by

no test coverage detected