관리-도구
편집 파일: _common.cpython-310.opt-2.pyc
o 6��f� � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZm Z m Z ddlmZm Z ddlmZ eejef Zdd� Zdd � Zd d� Zdd � Zdd� Zdd� Zejde jd�dd��Zejdd� �Ze�ej�ejdd� ��Z dS )� N)�Union�Any�Optional� )�ResourceReader�Traversable)� wrap_specc C s t t| ��S �N)�from_package�get_package)�package� r �8/opt/alt/python310/lib64/python3.10/importlib/_common.py�files s r c C s0 t | �}tj�|�\}}|rt| �d���|S )Nz must be only a file name)�str�os�path�split� ValueError)r Zstr_path�parent� file_namer r r �normalize_path s r c C s, | j }t|jdd �}|d u rd S ||j�S )N�get_resource_reader)�__spec__�getattr�loader�name�r �spec�readerr r r r &