| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/IPython/core/__pycache__/ |
Upload File : |
�
�@�c� � �, � d Z ddlZddlmZ dd�Zd� ZdS )z A payload based version of page.� N)�get_ipythonc �� � t d|� � }t � � }t | t � � r| }nd| i}t d||�� � }|j � |� � dS )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 sy � �
��5�M�M�E��M�M�E��%���� &�����u�%����
��
�
�
�G�
��'�'��0�0�0�0�0� c �R � t j d� � ddlm} t | _ dS )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<