0x1949 Team - FAZEMRX - MANAGER
Edit File: readers.cpython-310.pyc
o ��+g � @ sx d dl Z d dlZd dlZddlmZ dd� ZG dd� dej�ZG dd � d ej�ZG d d� dej �Z G dd � d ej�ZdS )� N� )�abcc C s t tj�| ��S �N)�iter�collections�OrderedDict�fromkeys)�items� r �(/usr/lib/python3.10/importlib/readers.py�remove_duplicates � r c @ �$ e Zd Zdd� Zdd� Zdd� ZdS )� FileReaderc C s t �|j�j| _d S r )�pathlib�Path�path�parent)�self�loaderr r r �__init__ s zFileReader.__init__c C � t | j�|��S �z{ Return the file system path to prevent `resources.path()` from creating a temporary copy. ��strr �joinpath�r �resourcer r r � resource_path � zFileReader.resource_pathc C � | j S r �r �r r r r �files � zFileReader.filesN��__name__� __module__�__qualname__r r r# r r r r r s r c s4 e Zd Zdd� Z� fdd�Zdd� Zdd� Z� ZS ) � ZipReaderc C s4 |� d�\}}}|j�dd�| d | _|j| _d S )N�.�\�/)� rpartition�prefix�replace�archive)r r �module�_�namer r r r s zZipReader.__init__c s6 zt � �|�W S ty } zt|jd ��d }~ww �Nr )�super� open_resource�KeyError�FileNotFoundError�args)r r �exc�� __class__r r r6 ! s ��zZipReader.open_resourcec C s | � � �|�}|�� o|�� S r )r# r �is_file�exists)r r �targetr r r �is_resource'