MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / _print_formatted_text

Method _print_formatted_text

src/ptpython/printer.py:122–130  ·  view source on GitHub ↗
(self, line: StyleAndTextTuples, end: str = "\n")

Source from the content-addressed store, hash-verified

120 self.output.flush()
121
122 def _print_formatted_text(self, line: StyleAndTextTuples, end: str = "\n") -> None:
123 print_formatted_text(
124 FormattedText(line),
125 style=self.style,
126 style_transformation=self.style_transformation,
127 include_default_pygments_style=False,
128 output=self.output,
129 end=end,
130 )
131
132 def _format_result_output(
133 self,

Callers 2

_display_resultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected