| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/rich/__pycache__/ |
Upload File : |
a
X��ez � @ s� d dl mZ G dd� de�Zedkr�d dlmZ e� Zeeee�� eeee�� G dd� d�Z e � Z
eee
e�� eede�� d S )
� )�ABCc @ s$ e Zd ZdZeeed�dd��ZdS )�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 C s t |d�pt |d�S )z6Check if this class supports the rich render protocol.Z__rich_console__Z__rich__)�hasattr)�clsr � r �8/usr/lib/python3.9/site-packages/pip/_vendor/rich/abc.py�__subclasshook__ s zRichRenderable.__subclasshook__N)�__name__�
__module__�__qualname__�__doc__�classmethod�type�boolr
r r r r r s
r �__main__)�Textc @ s e Zd ZdS )�FooN)r r r
r r r r r s r � N)�abcr r r Zpip._vendor.rich.textr �t�print�
isinstancer �fr r r r �<module> s