Viewing File: /opt/alt/python311/lib64/python3.11/importlib/resources/__pycache__/readers.cpython-311.opt-2.pyc
f
d dl Z d dlZd dlZd dlZddlmZ ddlmZ d Z G d dej Z
G d d ej Z G d
dej Z
G d d
ej ZdS ) N )abc)unique_everseenc Z t t j | S N)itercollectionsOrderedDictfromkeys)itemss B/opt/alt/python311/lib64/python3.11/importlib/resources/readers.pyremove_duplicatesr s! '0077888 c e Zd Zd Zd Zd ZdS )
FileReaderc L t j |j j | _ d S r )pathlibPathpathparent)selfloaders r
__init__zFileReader.__init__ s L--4 r c R t | j | S r strr joinpathr resources r
resource_pathzFileReader.resource_path '
49%%h//000r c | j S r r r s r
fileszFileReader.files
yr N__name__
__module____qualname__r r r% r r
r r sA 5 5 51 1 1 r r c 0 e Zd Zd Z fdZd Zd Z xZS ) ZipReaderc | d \ }}}|j dd |z dz | _ |j | _ d S )N.\/)
rpartitionprefixreplacearchive)r r module_names r
r zZipReader.__init__ sK &&s++
1dm++D#66=C~r c t | S # t $ r}t |j d d }~ww xY wNr )super
open_resourceKeyErrorFileNotFoundErrorargs)r r exc __class__s r
r<