MCPcopy Index your code
hub / github.com/ipython/ipython / display_page

Function display_page

IPython/core/page.py:36–44  ·  view source on GitHub ↗

Just display, no paging. screen_lines is ignored.

(strng, start=0, screen_lines=25)

Source from the content-addressed store, hash-verified

34
35
36def display_page(strng, start=0, screen_lines=25):
37 """Just display, no paging. screen_lines is ignored."""
38 if isinstance(strng, dict):
39 data = strng
40 else:
41 if start:
42 strng = u'\n'.join(strng.splitlines()[start:])
43 data = { 'text/plain': strng }
44 display(data, raw=True)
45
46
47def as_hook(page_func):

Callers

nothing calls this directly

Calls 1

displayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…