| Server IP : 35.80.110.71 / Your IP : 216.73.217.120 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/IPython/extensions/__pycache__/ |
Upload File : |
�
}�e� � � � d Z ddlZddlZddlZddlZddlmZ ddlmZm Z m
Z
ddlmZ ddl
mZ dd�Zd� Zd � Zd
� Ze G d� de� � Zd
� Zy)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 j di � }|�5|j � D ]! \ }}| j j ||� �# y | j j ||| � y )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 sk � ���� � �*�B�/�I��}��?�?�$� /�C�A�a�
���)�)�!�A�.� /�
���%�%�e�Y�u�-=�>� c �, � | j }|j d� D ]6 }t j j |� } || }|| j
|<