/opt/imh/python3.13/lib/python3.13/importlib/resources/__pycache__
Edit: /opt/imh/python3.13/lib/python3.13/importlib/resources/__pycache__/simple.cpython-313.pyc (5531B)
e
S r SSKrSSKrSSKrSSKJrJr SSKJrJr " S S\R 5 r
" S S \5 r " S
S\5 r " S S
\\
5 r
g)z+
Interface adapters for low-level readers.
N)BinaryIOList )TraversableTraversableResourcesc \ rS rSrSr\\R S\4S j5 5 r \R S\
S 4S j5 r\R S\
\ 4S j5 r\R S\S\
4S j5 r\S 5 rS
rg)SimpleReader
zE
The minimum, low-level interface required from a resource
provider.
returnc g)z@
The name of the package for which this reader loads resources.
N selfs @/opt/imh/python3.13/lib/python3.13/importlib/resources/simple.pypackageSimpleReader.package c g)zW
Obtain an iterable of SimpleReader for available
child containers (e.g. directories).
Nr
r s r childrenSimpleReader.children r r c g)z<
Obtain available named resources for this virtual package.
Nr
r s r resourcesSimpleReader.resources! r r resourcec g)z*
Obtain a File-like for a named resource.
Nr
)r r s r open_binarySimpleReader.open_binary' r r c > U R R S5 S $ )N.)r splitr s r nameSimpleReader.name- s ||!!#&r**r r
N)__name__
__module____qualname____firstlineno____doc__propertyabcabstractmethodstrr r r r r r r# __static_attributes__r
r r r r
s
$~. 49
C H
+ +r r c > \ rS rSrSrS\4S jrS rS rS r S r
S rg
)ResourceContainer2 zA
Traversable container for a package's resources via its reader.
readerc Xl g Nr2 )r r2 s r __init__ResourceContainer.__init__7 s r c gNTr
r s r is_dirResourceContainer.is_dir: r c gNFr
r s r is_fileResourceContainer.is_file= r c ^ U 4S jT R R 5 n[ [ T R R 5 5 n[
R " X5 $ )Nc 3 <