Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/IPython/utils/__pycache__/text.cpython-39.pyc
Ðазад
a o�hl_ � @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ ddlm Z ddl mZmZm Z mZmZ G dd� de�ZG dd � d e�Zd<dd �Zdd� Zd=dd�Ze�d�Zdd� Zdd� Zdd� Zd>dd�Zdd � Zd!d"� ZG d#d$� d$e�ZG d%d&� d&e�Z G d'd(� d(e �Z!d?d)d*�Z"e#e$e$d+�d,d-�Z%d@d.d/�Z&dAd0dd1�e#eeee$ eee$f f d2�d3d4�Z'dBd6d7�Z(dCd:d;�Z)dS )Dz~ Utilities for working with strings and text. Inheritance diagram: .. inheritance-diagram:: IPython.utils.text :parts: 3 � N)� Formatter)�Path)�List�Union�Optional�Dict�Tuplec @ s` e Zd ZdZdd� Zee� ZZdd� Zee� Z Z dd� Zee� ZZ dd � Zee� ZZd S )�LSStringa` String derivative with a special access attributes. These are normal strings, but with the special attributes: .l (or .list) : value as list (split on newlines). .n (or .nlstr): original value (the string itself). .s (or .spstr): value as whitespace-separated string. .p (or .paths): list of path objects (requires path.py package) Any values which require transformations are computed only once and cached. Such strings are very useful to efficiently interact with the shell, which typically only understands whitespace-separated options for commands.c C s2 z| j W S ty, | �d�| _ | j Y S 0 d S �N� )Z_LSString__list�AttributeError�split��self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/IPython/utils/text.py�get_list'