Viewing File: /opt/alt/python311/lib64/python3.11/importlib/resources/__pycache__/_common.cpython-311.pyc
fK X d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZm Z ddl
mZmZ ddl
mZ eej ef Zd Zd Zd Zd Zd
Zej de j dd
Zej d Ze ej ej d ZdS ) N)UnionOptional )ResourceReaderTraversable) wrap_specc : t t | S )z3
Get a Traversable resource from a package
)from_packageget_package)packages B/opt/alt/python311/lib64/python3.11/importlib/resources/_common.pyfilesr s
G,,--- c d | j }t |j dd }|dS ||j S )z?
Return the package's loader if it's a ResourceReader.
get_resource_readerN)__spec__getattrloadernamer specreaders r
r r s<