|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ |
�
��\���� �� � 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 ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el9.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/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 �pip._vendor.rich.textr �t�print�
isinstancer �fr r r
�<module>r# s~ �� �P�S� P�"