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

Method print_paginated_formatted_text

src/ptpython/repl.py:427–436  ·  view source on GitHub ↗
(
        self,
        formatted_text: Iterable[OneStyleAndTextTuple],
        end: str = "\n",
    )

Source from the content-addressed store, hash-verified

425 del globals["get_ptpython"]
426
427 def print_paginated_formatted_text(
428 self,
429 formatted_text: Iterable[OneStyleAndTextTuple],
430 end: str = "\n",
431 ) -> None:
432 # Warning: This is mainly here backwards-compatibility. Some projects
433 # call `print_paginated_formatted_text` on the Repl object.
434 self._get_output_printer().display_style_and_text_tuples(
435 formatted_text, paginate=True
436 )
437
438
439def enable_deprecation_warnings() -> None:

Callers

nothing calls this directly

Calls 2

_get_output_printerMethod · 0.95

Tested by

no test coverage detected