관리-도구
편집 파일: abc.cpython-311.pyc
� ,�Re. � � � d dl Z d dlmZmZmZ ddlmZmZ G d� de j �� � Z e G d� d e� � � � Z G d � de � � ZdS )� N)�BinaryIO�Iterable�Text� )�runtime_checkable�Protocolc �� � e Zd ZdZej dedefd�� � Zej dedefd�� � Z ej dede fd�� � Zej dee fd�� � Zd S ) �ResourceReaderzDAbstract base class for loaders to provide resource reading support.�resource�returnc � � t �)z�Return an opened, file-like object for binary reading. The 'resource' argument is expected to represent only a file name. If the resource cannot be found, FileNotFoundError is raised. ��FileNotFoundError��selfr s ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/_vendor/importlib_resources/abc.py� open_resourcezResourceReader.open_resource s � � �� c � � t �)z�Return the file system path to the specified resource. The 'resource' argument is expected to represent only a file name. If the resource does not exist on the file system, raise FileNotFoundError. r r s r � resource_pathzResourceReader.resource_path s � � �r �pathc � � t �)zjReturn True if the named 'path' is a resource. Files are resources, directories are not. r �r r s r �is_resourcezResourceReader.is_resource# s � � �r c � � t �)z+Return an iterable of entries in `package`.r �r s r �contentszResourceReader.contents+ s � � �r N)�__name__� __module__�__qualname__�__doc__�abc�abstractmethodr r r r �boolr r �strr � r r r r s� � � � � � �N�N��� �d� �x� � � � �� � �� �d� �t� � � � �� � �� �� �� � � � �� � �� �(�3�-� � � � �� � � r r )� metaclassc � � e Zd ZdZej d� � � Zd� Zdd�Zej de fd�� � Z ej de fd�� � Zej d � � � Zd � Z ej dd�� � Zej defd �� � ZdS )�Traversablezt An object with a subset of pathlib.Path methods suitable for traversing directories and opening files. c � � dS )z3 Yield Traversable objects in self Nr&