MCPcopy
hub / github.com/prompt-toolkit/ptpython / _show_result

Method _show_result

src/ptpython/repl.py:150–157  ·  view source on GitHub ↗
(self, result: object)

Source from the content-addressed store, hash-verified

148 )
149
150 def _show_result(self, result: object) -> None:
151 self._get_output_printer().display_result(
152 result=result,
153 out_prompt=self.get_output_prompt(),
154 reformat=self.enable_output_formatting,
155 highlight=self.enable_syntax_highlighting,
156 paginate=self.enable_pager,
157 )
158
159 def run(self) -> None:
160 """

Callers 2

Calls 3

_get_output_printerMethod · 0.95
display_resultMethod · 0.80
get_output_promptMethod · 0.80

Tested by

no test coverage detected