Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/prompt_toolkit/layout/__pycache__/utils.cpython-39.pyc
Ðазад
a d�hC � @ s� d dl mZ d dlmZmZmZmZmZmZ d dl m Z erHd dlmZ dgZ ede d�ZG dd � d ee �Zd dd�d d�ZdS )� )�annotations)� TYPE_CHECKING�Iterable�List�TypeVar�cast�overload)�OneStyleAndTextTuple)� SupportsIndex�explode_text_fragments�_T)�boundc s� e Zd ZdZdZddd�dd�Zddd �� fd d�Zdddd �dd�Zedddd�dd��Z edddd�dd��Z dddd�� fdd�Z � Z S )� _ExplodedListz� Wrapper around a list, that marks it as 'exploded'. As soon as items are added or the list is extended, the new items are automatically exploded as well. Tr �None)�item�returnc C s | � |g� d S �N)�extend)�selfr � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/prompt_toolkit/layout/utils.py�append s z_ExplodedList.append�Iterable[_T])�lstr c s t � �t|�� d S r )�superr r )r r �� __class__r r r s z_ExplodedList.extendr )�indexr r c C s t �d S r )�NotImplementedError)r r r r r r �insert! s z_ExplodedList.insert)r �valuer c C s d S r r �r r r r r r �__setitem__&