python (3.11.7)
    e                         d dl Z d dlZd dlZd dlmZmZmZmZmZm	Z	m
Z
 d dlmZmZ d dlm
Z
 e
eej        e         f         Zg dZ G d de j                  Ze G d	 d
e                      Z G d de          ZdS )
    N)AnyBinaryIOIterableIteratorNoReturnTextOptional)runtime_checkableProtocol)Union)ResourceReaderTraversableTraversableResourcesc                       e Zd ZdZej        dedefd            Zej        dedefd            Z	ej        dede
fd            Zej        dee
         fd            Zd	S )
r
   zDAbstract base class for loaders to provide resource reading support.resourcereturnc                     t           )zReturn 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.
        FileNotFoundErrorselfr   s     K/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/importlib/resources/abc.py
open_resourcezResourceReader.open_resource   s
          c                     t           )zReturn 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.contents2   s
      r   N)__name__
__module____qualname____doc__abcabstractmethodr   r   r   r   boolr    r   strr#    r   r   r
   r
      s        NN	 d 	 x 	  	  	  	  	
 d 
 t 
  
  
  
  	            	 (3-            r   r
   )	metaclassc                   <   e Zd ZdZej        ded          fd            ZdefdZ	dde
e         defdZej        de
fd            Zej        de
fd	            Zej        d
edd fd            Zdedd fd
Zej        dd            Zej        defd            ZdS )r   z
    An object with a subset of pathlib.Path methods suitable for
    traversing directories and opening files.
    Any exceptions that occur when accessing the backing resource
    may propagate unaltered.
    r   c                     dS )z3
        Yield Traversable objects in self
        Nr,   r"