| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/terminal/__pycache__/ |
Upload File : |
�
�@�c� � � � d Z ddlmZ ddlZddlZddlmZmZ ddlm Z m
Z
mZ ddlm
Z
ddlmZ ddlmZmZ dd lmZ ej d
fd�Ze
G d� d
e � � � � ZdS )zExtra magics for terminal use.� )�errorN)�TryNext�
UsageError)�Magics�magics_class�
line_magic)�ClipboardEmpty)�skip_doctest)�SList�strip_email_quotes)� py3compatFc # � K � |st d| z � � d}nd} ||� � }|| k rdS |V � n # t $ r t d� � Y dS w xY w�:)zH Yield pasted lines until the user enters the given sentinel value.
zAPasting code; enter '%s' alone on the line to stop or use Ctrl-D.�:� TNz<EOF>)�print�EOFError)�sentinel�l_input�quiet�prompt�ls �9/usr/lib/python3/dist-packages/IPython/terminal/magics.py�get_pasted_linesr s� � � � � � �
�Q��� � � ������ � ������A��H�}�}���������� � � ��'�N�N�N��F�F� ���� s �6 �6 �A�Ac � � � e Zd Z� fd�Zd� Zd� Zdd�Zed
d�� � Ze ed
d�� � � � Z
ed
d �� � Zej
d
k red� � � Z� xZS � xZS )�TerminalMagicsc �X �� t t | � � � |� � d S )N)�superr �__init__)�self�shell� __class__s �r r zTerminalMagics.__init__) s'