HOME


Mini Shell 1.0
DIR: /lib/python3/dist-packages/rich/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/rich/__pycache__/abc.cpython-312.pyc
�

"T�en����ddlmZGd�de�Zedk(r[ddlmZe�Zeeee��eeee��Gd�d�Z	e	�Z
eee
e��eede��y	y	)
�)�ABCc�*�eZdZdZededefd��Zy)�RichRenderablea#An abstract base class for Rich renderables.

    Note that there is no need to extend this class, the intended use is to check if an
    object supports the Rich renderable protocol. For example::

        if isinstance(my_object, RichRenderable):
            console.print(my_object)

    �other�returnc�6�t|d�xst|d�S)z6Check if this class supports the rich render protocol.�__rich_console__�__rich__)�hasattr)�clsrs  �*/usr/lib/python3/dist-packages/rich/abc.py�__subclasshook__zRichRenderable.__subclasshook__s���u�0�1�O�W�U�J�5O�O�N)�__name__�
__module__�__qualname__�__doc__�classmethod�type�boolr�rr
rrs-����P�T�P�d�P��Prr�__main__)�Textc��eZdZy)�FooN)rrrrrr
rrs��rr�N)�abcrrr�	rich.textr�t�print�
isinstancer�frrr
�<module>r#s~���P�S�P�"�z�����A�	�*�T�>�
*�+�	�*�Q��
'�(�
�
�	��A�	�*�Q��
'�(�	�*�R��
(�)�r