内容:
RichRenderable
Rich Renderables的抽象基类。
请注意,不需要扩展此类,其目的是检查对象是否支持Rich Renderable协议。例如::
if isinstance(my_object, RichRenderable): console.print(my_object)