e[ xSrSSKrSSKJrJr \"5rSr\SS.SjrS r \SS.S jr S r S r S r SrSrg)z5Simplified function-based API for importlib.resourcesN)filesas_filec6[X5RS5$)z8Open for binary reading the *resource* within *package*.rb) _get_resourceopenanchor path_namess E/opt/imh/python3.13/lib/python3.13/importlib/resources/_functional.py open_binaryr s  , 1 1$ 77strictencodingerrorscN[X15n[X5nURSXS9$)z6Open for text reading the *resource* within *package*.rr)_get_encoding_argrr r rrr resources r open_textrs) 6HV0H ==x= ??rc4[X5R5$)zARead and return contents of *resource* within *package* as bytes.)r read_bytesr s r read_binaryrs  , 7 7 99rcL[X15n[X5nURXS9$)z?Read and return contents of *resource* within *package* as str.r)rr read_textrs r rrs* 6HV0H   x  ??rc*[[X55$)z@Return the path to the *resource* as an actual file system path.)rrr s r pathr #s =4 55rc4[X5R5$)zbReturn ``True`` if there is a resource named *name* in the package, Otherwise returns ``False``. )ris_filer s r is_resourcer#(s  , 4 4 66rcv[R"S[SS9 S[X5R 55$)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) stacklevelc38# UHoRv M g7f)N)name).0rs r contents..<s V*UhMM*Us)warningswarnDeprecationWarningriterdirr s r contentsr/0s7  MM /  W-*K*S*S*U VVrcNU[La[U5S:a [S5egU$)Nrz5'encoding' argument required with multiple path nameszutf-8)_MISSINGlen TypeError)r rs r rr?s2 8 z?Q G  OrcNUc [S5e[U5R"U6$)Nz)anchor must be module or string, got None)r3rjoinpathr s r rrNs( ~CDD = ! !: ..r)__doc__r+_commonrrobjectr1rrrrr r#r/rrrr r:sU;# 88 -5X@: -5X@6 7 W /r