
    ^h                     ,    S r SSKrSSKJr  SS jrS rg)z A payload based version of page.    N)get_ipythonc                     [        SU5      n[        5       n[        U [        5      (       a  U nOSU 0n[        SUUS9nUR                  R                  U5        g)aF  Print a string, piping through a pager.

This version ignores the screen_lines and pager_cmd arguments and uses
IPython's payload system instead.

Parameters
----------
strng : str or mime-dict
    Text to page, or a mime-type keyed dict of already formatted data.
start : int
    Starting line at which to place the display.
r   z
text/plainpage)sourcedatastartN)maxr   
isinstancedictpayload_managerwrite_payload)strngr   screen_lines	pager_cmdshellr   payloads          R/home/james-whalen/.local/lib/python3.13/site-packages/IPython/core/payloadpage.pyr   r      s[      5MEME%u%
G
 
''0    c                  R    [         R                  " S5        SSKJn   [        U l        g)z\DEPRECATED, use show_in_pager hook

Install this version of page as IPython.core.page.page.
zninstall_payload_page is deprecated.
    Use `ip.set_hook('show_in_pager, page.as_hook(payloadpage.page))`
    r   )r   N)warningswarnIPython.corer   )corepages    r   install_payload_pager   *   s!    
 MM  	 .HMr   )r   r   N)__doc__r   IPython.core.getipythonr   r   r    r   r   <module>r      s    &
  /1>	r   