| 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/core/magics/__pycache__/ |
Upload File : |
�
�@�c�` � � � d Z ddlZddlZddlZddlmZ ddlmZmZ ddl m
Z
mZmZ ddl
mZ ddlmZ ddlmZ dd lmZ e G d
� de
� � � � ZdS )z5Implementation of namespace-related magic functions.
� N)�page)�StdinNotImplementedError�
UsageError)�Magics�magics_class�
line_magic)�skip_doctest)�DEFAULT_ENCODING)�read_py_file)�get_py_filenamec � � e Zd ZdZedd�� � Zedd�� � Zeedd�� � � � Zedd�� � Z edd�� � Z
edd �� � Zedd
�� � Zeedd�� � � � Z
eedd�� � � � Zeedd
�� � � � Zedd�� � Zedd�� � Zedd�� � ZdS )�NamespaceMagicsz�Magics to manage various aspects of the user's namespace.
These include listing variables, introspecting into them, etc.
� Nc �� � d}t j d|� � � � � \ }}}}|s|s|rd}d|v r| � |� � dS | j � d|||�� � dS )zpProvide detailed information about an object.
'%pinfo object' is just a synonym for object? or ?object.r z(pinfo )?(\?*)(.*?)(\??$)� �*�pinfo��detail_level�
namespacesN)�re�match�groups�psearch�shell�_inspect)�self�parameter_sr r r �qmark1�oname�qmark2s �?/usr/lib/python3/dist-packages/IPython/core/magics/namespace.pyr zNamespaceMagics.pinfo( s� � � �� �x�4�[�A�A�H�H�J�J� "��f�U�6�� �F� �f� ��L��%�<�<��L�L��������J�����\�+5�
�
7�
7�
7�
7�
7� c �B � | j � d|d|�� � dS )zyProvide extra detailed information about an object.
'%pinfo2 object' is just a synonym for object?? or ??object.r r r N�r r �r r r s r"