MCPcopy Create free account
hub / github.com/ipython/ipython / install_payload_page

Function install_payload_page

IPython/core/payloadpage.py:43–52  ·  view source on GitHub ↗

DEPRECATED, use show_in_pager hook Install this version of page as IPython.core.page.page.

()

Source from the content-addressed store, hash-verified

41
42
43def install_payload_page():
44 """DEPRECATED, use show_in_pager hook
45
46 Install this version of page as IPython.core.page.page.
47 """
48 warnings.warn("""install_payload_page is deprecated.
49 Use `ip.set_hook('show_in_pager, page.as_hook(payloadpage.page))`
50 """)
51 from IPython.core import page as corepage
52 corepage.page = page

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected