MCPcopy Create free account
hub / github.com/RustPython/RustPython / plain_pager

Function plain_pager

Lib/_pyrepl/pager.py:122–124  ·  view source on GitHub ↗

Simply print unformatted text. This is the ultimate fallback.

(text: str, title: str = '')

Source from the content-addressed store, hash-verified

120
121
122def plain_pager(text: str, title: str = '') -> None:
123 """Simply print unformatted text. This is the ultimate fallback."""
124 sys.stdout.write(plain(escape_stdout(text)))
125
126
127def pipe_pager(text: str, cmd: str, title: str = '') -> None:

Callers

nothing calls this directly

Calls 3

plainFunction · 0.85
escape_stdoutFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected