| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 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/utils/__pycache__/ |
Upload File : |
�
}�em
� � � d Z ddlZddlZddlZddlZddlmZ ddlmZ G d� de � Z
G d� d ej j � Z
G d
� dej � Zy)z%A shim module for deprecated imports
� N)�
import_module� )�import_itemc � � e Zd ZdZy)�ShimWarningzFA warning to show when a module has moved, and a shim is in its place.N)�__name__�
__module__�__qualname__�__doc__� � �:/usr/lib/python3/dist-packages/IPython/utils/shimmodule.pyr r s � �Pr
r c �$ � e Zd ZdZd� Zd� Zdd�Zy)�ShimImporterz�Import hook for a shim.
This ensures that submodule imports return the real target module,
not a clone that will confuse `is` and `isinstance` checks.
c � � || _ || _ y �N��src�mirror)�selfr r s r �__init__zShimImporter.__init__ s � ������r
c �L � | j |t | j � d z S )z#get the name of the mirrored moduleN)r �lenr )r �fullnames r �_mirror_namezShimImporter._mirror_name s"