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

Function _get_windows_console_stream

src/click/_compat.py:566–569  ·  view source on GitHub ↗
(
        f: t.TextIO, encoding: str | None, errors: str | None
    )

Source from the content-addressed store, hash-verified

564 return getattr(sys.stdin, "encoding", None) or sys.getfilesystemencoding()
565
566 def _get_windows_console_stream(
567 f: t.TextIO, encoding: str | None, errors: str | None
568 ) -> t.TextIO | None:
569 return None
570
571
572def term_len(x: str) -> int:

Callers 3

get_text_stdinFunction · 0.70
get_text_stdoutFunction · 0.70
get_text_stderrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected