Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/IPython/core/__pycache__/displaypub.cpython-39.pyc
Ðазад
a o�hP � @ sT d Z ddlZddlmZ ddlmZ ddlmZ G dd� de�ZG d d � d e�Z dS )a� An interface for publishing rich data to frontends. There are two components of the display system: * Display formatters, which take a Python object and compute the representation of the object in various formats (text, HTML, SVG, etc.). * The display publisher that is used to send the representation data to the various frontends. This module defines the logic display publishing. The display publisher uses the ``display_data`` message type that is defined in the IPython messaging spec. � N)�Configurable)�List� )�publish_display_datac sN e Zd ZdZd� fdd� Zddd�Zdddd�dd �d d�Zddd �Z� ZS )�DisplayPublisherz�A traited class that publishes display data to frontends. Instances of this class are created by the main IPython object and should be accessed there. Nc s || _ t� j|i |�� d S �N)�shell�super�__init__)�selfr �args�kwargs�� __class__� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/IPython/core/displaypub.pyr '