Hacked By AnonymousFox
a
R�f) � @ s� d dl Z ddlmZ ddlmZ ddlmZ d dlmZmZ d dl m
Z
d dlmZ d d l
mZmZ d d
lmZ d dlmZ d dlmZmZmZmZ d d
lmZ d dlmZmZ g d�Zeeef Zeee j f Z!ed�dd�Z"ed�dd�Z#ed�dd�Z$eeej% d�dd�Z&dd� Z'ee!ed�dd�Z(d4ee!eeed!�d"d#�Z)ee!e*d�d$d%�Z+d5ee!eeed!�d&d'�Z,eej-d�d(d)�Z.ee!d*d�d+d,�Z/ed-d.� �Z0eee1d/�d0d1�Z2eee d�d2d3�Z3dS )6� N� )�abc)�_common)�as_file)�contextmanager�suppress)�
import_module)�ResourceLoader)�BytesIO�
TextIOWrapper)�Path)�
ModuleType)�ContextManager�Iterable�Optional�Union)�cast)�BinaryIO�TextIO)�Package�Resourcer �contents�files�is_resource�open_binary� open_text�path�read_binary� read_text)�returnc C s t | d�r| S t| �S )N�__spec__)�hasattrr ��name� r$ �8/opt/alt/python39/lib64/python3.9/importlib/resources.py�_resolve$ s
r&