*j[
x S r SSKrSSKJrJr \" 5 rS r\SS.S jrS r \SS.S
jr
S rS rS
r
S rS rg)z5Simplified function-based API for importlib.resources N )filesas_filec 6 [ X5 R S5 $ )z8Open for binary reading the *resource* within *package*.rb)
_get_resourceopenanchor
path_namess F/opt/alt/python313/lib64/python3.13/importlib/resources/_functional.pyopen_binaryr s ,11$77 strictencodingerrorsc N [ X15 n[ X5 nUR SXS9$ )z6Open for text reading the *resource* within *package*.rr )_get_encoding_argr r r r r r resources r
open_textr s) 6HV0H==x=??r c 4 [ X5 R 5 $ )zARead and return contents of *resource* within *package* as bytes.)r
read_bytesr
s r
read_binaryr s ,7799r c L [ X15 n[ X5 nUR XS9$ )z?Read and return contents of *resource* within *package* as str.r )r r read_textr s r
r r s* 6HV0Hx??r c * [ [ X5 5 $ )z@Return the path to the *resource* as an actual file system path.)r r r
s r
pathr # s =455r c 4 [ X5 R 5 $ )zbReturn ``True`` if there is a resource named *name* in the package,
Otherwise returns ``False``.
)r is_filer
s r
is_resourcer# ( s
,4466r c v [ R " S[ SS9 S [ X5 R 5 5 $ )zReturn an iterable over the named resources within the package.
The iterable returns :class:`str` resources (e.g. files).
The iterable does not recurse into subdirectories.
zPimportlib.resources.contents is deprecated. Use files(anchor).iterdir() instead.r )
stacklevelc 3 8 # U H oR v M g 7f)N)name).0r s r