| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 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 : /usr/lib/python3/dist-packages/IPython/extensions/__pycache__/ |
Upload File : |
�
�@�c� � � � d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m
Z
ddlmZ ddl
mZ dd�Zd� Zd � Zd
� Ze G d� de� � � � Zd
� ZdS )z�
%store magic for lightweight persistence.
Stores variables, aliases and macros in IPython's database.
To automatically restore stored variables at startup, add this to your
:file:`ipython_config.py` file::
c.StoreMagics.autorestore = True
� N)�
UsageError)�Magics�magics_class�
line_magic)�skip_doctest)�Boolc �� � | j � di � � }|�7|� � � D ] \ }}| j � ||� � �!d S | j � ||| � � d S )N�stored_aliases)�db�get�items�
alias_manager�define_alias)�ip�alias� staliases�k�vs �?/usr/lib/python3/dist-packages/IPython/extensions/storemagic.py�restore_aliasesr s� � ��� � �*�B�/�/�I��}��?�?�$�$� /� /�C�A�a�
��)�)�!�A�.�.�.�.� /� /�
��%�%�e�Y�u�-=�>�>�>�>�>� c �: � | j }|� d� � D ]}}t j � |� � } || }|| j |<