| Server IP : 43.129.54.214 / Your IP : 216.73.217.113 Web Server : nginx/1.24.0 System : Linux VM-4-108-ubuntu 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/rich/__pycache__/ |
Upload File : |
�
"T�en � �� � d dl mZ G d� de� Zedk( r[d dlmZ e� Z e eee� � e eee� � G d� d� Z e � Z
e ee
e� � e ede� � y y )
� )�ABCc �* � e Zd ZdZededefd�� 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)�clsr s �*/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 � r r
r r s- � �� �P�T� P�d� P� �Pr r �__main__)�Textc � � e Zd Zy)�FooN)r r r r r r
r r s � �r r � N)�abcr r r � rich.textr �t�print�
isinstancer �fr r r
�<module>r# s~ �� �P�S� P�"