| 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/__pycache__/ |
Upload File : |
�
�@�c�� � �� � d Z ddgZddlZddlZddlmZ ddlZddlZddlZddlm Z ddl
Z
ddlZddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm!Z! ddl"m#Z#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1 d� Z2e
j3 j4 j Z5e6j7 j Z8d� e
j9 e
j: e
j3 e;fD � � Z< e=e>� � Z? e=e@jA � � ZBe#ZCejD ZEg d�ZFd� ZGd� ZHdee@df fd �ZId-dee@df fd"�ZJd#� ZKe+d$� � � ZLe+d%� � � ZMe+d.d'�� � ZNd(� ZOde@fd)�ZPd*� ZQ G d+� de)� � ZRde@fd,�ZSdS )/z�Tools for inspecting Python objects.
Uses syntax highlighting for presenting the various information elements.
Similar in spirit to the inspect module, but all calls take a name argument to
reference the name under which an object is being read.
� Inspector�
InspectColors� N)� signature)�dedent)�Union)�page)�pretty)�skip_doctest)�
PyColorize)�openpy)� py3compat)�safe_hasattr)�
compress_user)�indent)�list_namespace)�typestr2type)�
TermColors�ColorScheme�ColorSchemeTable)�cast_unicode)� Colorable)�undoc)� highlight)�PythonLexer)�
HtmlFormatterc �X � t | t � � t d�� � � � S )NT)� noclasses)r r r )�codes �7/usr/lib/python3/dist-packages/IPython/core/oinspect.py�pylightr 1 s# � ��T�;�=�=�-�$�*G�*G�*G�H�H�H� c �6 � h | ]}t j |� � ��S � )�inspect�getdoc)�.0�ts r � <setcomp>r( 7 s/ � � � � ��G�N�1���� � r! )� type_name�
base_class�string_form� namespace�length�file�
definition� docstring�source�init_definition�class_docstring�init_docstring�call_def�call_docstring�ismagic�isalias�isclass�found�namec �R � d� t D � � }|� | � � |S )z1Make an object info dict with all fields present.c � � i | ]}|d ��S �Nr# )r&