Your IP : 216.73.217.79


Current Path : /usr/lib/python3/dist-packages/rich/__pycache__/
Upload File :
Current File : //usr/lib/python3/dist-packages/rich/__pycache__/pager.cpython-311.pyc

�

��c<��.�ddlmZmZddlmZGd�de��ZGd�de��Zedkrddd	lm	Z	dd
l
mZe��Z
e
�d���5e
�
e	����d
d
d
��d
S#1swxYwYd
Sd
S)�)�ABC�abstractmethod)�Anyc�2�eZdZdZededdfd���ZdS)�PagerzBase class for a pager.�content�returnNc��dS)zbShow content in pager.

        Args:
            content (str): Content to be displayed.
        N���selfrs  �,/usr/lib/python3/dist-packages/rich/pager.py�showz
Pager.shows����)�__name__�
__module__�__qualname__�__doc__r�strrrrrrrsF������!�!���C��D�����^���rrc�2�eZdZdZdedefd�Zdeddfd�ZdS)�SystemPagerz'Uses the pager installed on the system.rr	c�F�td���|��S)N�pydoc)�
__import__�pagerrs  r�_pagerzSystemPager._pagers���'�"�"�(�(��1�1�1rNc�0�|�|��dS)z!Use the same pager used by pydoc.N)rrs  rrzSystemPager.shows�����G�����r)rrrrrrrrrrrrrs^������1�1�2�c�2�c�2�2�2�2��C��D������rr�__main__�)�make_test_card)�ConsoleT)�stylesN)�abcrr�typingrrrrrr �consoler!r�printrrr�<module>r'sY��#�#�#�#�#�#�#�#�������	�	�	�	�	�C�	�	�	������%�����z���(�(�(�(�(�(� � � � � � ��g�i�i�G�	���d��	#�	#�(�(��
�
�n�n�&�&�'�'�'�(�(�(�(�(�(�(�(�(�(�(�(����(�(�(�(�(�(��s�B�B�B