| Server IP : 35.80.110.71 / Your IP : 216.73.216.143 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/core/__pycache__/ |
Upload File : |
�
}�e� � �* � d Z ddlZddlmZ dd�Zd� Zy)z A payload based version of page.� N)�get_ipythonc � � t d|� }t � }t | t � r| }nd| i}t d||�� }|j j |� y)aj 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 �:/usr/lib/python3/dist-packages/IPython/core/payloadpage.pyr r sX � �
��5�M�E��M�E��%������u�%����
��
�G�
���'�'��0� c �P � t j d� ddlm} t | _ y)zdDEPRECATED, 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! � �
�M�M� � � .��H�Mr )r r N)�__doc__r �IPython.core.getipythonr r r � r r �<module>r s �� &�
� /�1�> r