File: //var/opt/nydus/ops/importlib_resources/__pycache__/_py3.cpython-39.pyc
a
�,�h � @ s� d dl Z d dlZddlmZ ddlmZ d dlmZmZ d dl m
Z
d dlmZ d dl
mZmZ d d lmZ d d
lmZ d dlmZmZmZmZmZ d dlmZ d d
lmZmZ eeef Z ej!dkr�eee j"f Z#neZ#ed�dd�Z$ed�dd�Z%ed�dd�Z&eeej' d�dd�Z(e e#ed�dd�Z)d1e e#eeed�dd �Z*e e#e+d�d!d"�Z,d2e e#eeed�d#d$�Z-e ej.d�d%d&�Z/e e#d'd�d(d)�Z0ed*d+� �Z1e ee2d,�d-d.�Z3e ee d�d/d0�Z4dS )3� N� )�abc)�_common)�contextmanager�suppress)�
import_module)�ResourceLoader)�BytesIO�
TextIOWrapper)�Path)�
ModuleType)�Iterable�Iterator�Optional�Set�Union)�cast)�BinaryIO�TextIO)� � )�returnc C s t | d�r| S t| �S )z)If name is a string, resolve to a module.�__spec__)�hasattrr ��name� r �I/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/importlib_resources/_py3.py�_resolve s
r c C s&