✏️ 正在编辑: abc.cpython-311.pyc
路径:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-311.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� .|oiz � �4 � 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� � � � d S d S ) � )�ABCc �2 � e Zd ZdZededefd�� � 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 �B � t |d� � pt |d� � S )z6Check if this class supports the rich render protocol.�__rich_console__�__rich__)�hasattr)�clsr s �f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/pip/_vendor/rich/abc.py�__subclasshook__zRichRenderable.__subclasshook__ s$ � � �u�0�1�1�O�W�U�J�5O�5O�O� N)�__name__� __module__�__qualname__�__doc__�classmethod�type�boolr � r r r r sT � � � � � �� � �P�T� P�d� P� P� P� �[�P� P� Pr r �__main__)�Textc � � e Zd ZdS )�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� P� P� P� P�S� P� P� P�"