Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/core20/2599/lib/python3.8/importlib/__pycache__/ |
Upload File : |
U ���g@% � @ s� d dl Z d dlZddlmZ d dlmZmZ d dlm Z d dl mZ d dlm Z mZ d dlmZ d d lmZ d d lmZmZmZmZmZ d dlmZ d dlmZmZ d d lmZ dddddddddg Zee ef Z!ee e j"f Z#ed�dd�Z$e d�dd�Z%eeej& d�dd�Z'dd � Z(e!e#ed!�d"d�Z)d-e!e#e e ed%�d&d�Z*e!e#e+d!�d'd�Z,d.e!e#e e e d%�d(d�Z-ee!e#ee d!�d)d��Z.e!e e/d*�d+d�Z0e!ee d�d,d�Z1dS )/� N� )�abc)�contextmanager�suppress)� import_module)�ResourceLoader)�BytesIO� TextIOWrapper)�Path)� ModuleType)�Iterable�Iterator�Optional�Set�Union)�cast)�BinaryIO�TextIO)�ZipImportError�Package�Resource�contents�is_resource�open_binary� open_text�path�read_binary� read_text)�returnc C s\ t | d�r0| jjdkr*td�| jj���qX| S n(t| �}|jjdkrTtd�| ���n|S dS )z�Take a package name or module object and return the module. If a name, the module is imported. If the passed or imported module object is not a package, raise an exception. �__spec__Nz{!r} is not a package)�hasattrr �submodule_search_locations� TypeError�format�namer )�package�module� r'