π FileMgr
π
/
usr
/
lib
/
python3
/
dist-packages
/
rich
/
__pycache__
βοΈ /usr/lib/python3/dist-packages/rich/__pycache__/abc.cpython-312.pyc
β Tutup
οΏ½ "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οΏ½"