/opt/alt/python-internal/lib64/python3.11/importlib/resources/__pycache__
NameSizeModeActions
abc.cpython-311.opt-1.pyc85200644editdlrm
abc.cpython-311.opt-2.pyc66930644editdlrm
abc.cpython-311.pyc85200644editdlrm
readers.cpython-311.opt-1.pyc83190644editdlrm
readers.cpython-311.opt-2.pyc79920644editdlrm
readers.cpython-311.pyc83190644editdlrm
simple.cpython-311.opt-1.pyc69020644editdlrm
simple.cpython-311.opt-2.pyc60710644editdlrm
simple.cpython-311.pyc69020644editdlrm
_adapters.cpython-311.opt-1.pyc107130644editdlrm
_adapters.cpython-311.opt-2.pyc98940644editdlrm
_adapters.cpython-311.pyc107130644editdlrm
_common.cpython-311.opt-1.pyc42590644editdlrm
_common.cpython-311.opt-2.pyc38190644editdlrm
_common.cpython-311.pyc42590644editdlrm
_itertools.cpython-311.opt-1.pyc13580644editdlrm
_itertools.cpython-311.opt-2.pyc12940644editdlrm
_itertools.cpython-311.pyc13580644editdlrm
_legacy.cpython-311.opt-1.pyc64560644editdlrm
_legacy.cpython-311.opt-2.pyc53560644editdlrm
_legacy.cpython-311.pyc64560644editdlrm
__init__.cpython-311.opt-1.pyc7960644editdlrm
__init__.cpython-311.opt-2.pyc7380644editdlrm
__init__.cpython-311.pyc7960644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/importlib/resources/__pycache__/simple.cpython-311.pyc (6902B)
§ -€•a,›ãó¾—dZddlZddlZddlZddlmZmZddlmZmZGd„dej ¦«Z Gd„d e¦«Z Gd „d e¦«Z Gd „d ee ¦«Z dS)z+ Interface adapters for low-level readers. éN)ÚBinaryIOÚListé)Ú TraversableÚTraversableResourcescó¨—eZdZdZejd„¦«Zejd„¦«Zejd„¦«Z ejd„¦«Z e d„¦«Z dS)Ú SimpleReaderzQ The minimum, low-level interface required from a resource provider. có—dS)zP The name of the package for which this reader loads resources. N©©Úselfs úG/opt/alt/python-internal/lib64/python3.11/importlib/resources/simple.pyÚpackagezSimpleReader.packageó€€€ócó—dS)zo Obtain an iterable of SimpleReader for available child containers (e.g. directories). Nr r s rÚchildrenzSimpleReader.childrenrrcó—dS)zL Obtain available named resources for this virtual package. Nr r s rÚ resourceszSimpleReader.resources"rrcó—dS)z: Obtain a File-like for a named resource. Nr )r Úresources rÚ open_binaryzSimpleReader.open_binary)rrcóB—|j d¦«dS)Nú.éÿÿÿÿ)rÚsplitr s rÚnamezSimpleReader.name0s€àŒ|×!Ò! #Ñ&Ô& rÔ*Ð*rN) Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚabcÚabstractpropertyrÚabstractmethodrrrÚpropertyrr rrr r sµ€€€€€ððð  Ôð ð ñÔð ð  Ôð ð ñÔð ð Ôð ð ñÔð ð  Ôð ð ñÔð ð ð+ð+ñ„Xð+ð+ð+rr có2—eZdZdZd„Zd„Zd„Zd d„Zd„ZdS) ÚResourceHandlez9 Handle to a named resource in a ResourceReader. có"—||_||_dS©N)Úparentr)r r*rs rÚ__init__zResourceHandle.__init__:s€àˆŒ ؈Œ ˆ ˆ rcó—dS©NTr r s rÚis_filezResourceHandle.is_file?ó€Øˆtrcó—dS©NFr r s rÚis_dirzResourceHandle.is_dirBó€ØˆurÚrcó€—|jj |j¦«}d|vrt j|g|¢Ri|¤Ž}|S)NÚb)r*ÚreaderrrÚioÚ TextIOWrapper)r ÚmodeÚargsÚkwargsÚstreams rÚopenzResourceHandle.openEsJ€Ø”Ô#×/Ò/°´ Ñ:Ô:ˆØ �dˆ?ˆ?ÝÔ% fÐ>¨tÐ>Ð>Ð>°vÐ>Ð>ˆF؈ rcó —td¦«‚)NzCannot traverse into a resource)Ú RuntimeError)r rs rÚjoinpathzResourceHandle.joinpathKs€ÝÐ<Ñ=Ô=Ð=rN)r4) rrr r!r+r.r2r>rAr rrr'r'5sn€€€€€ðððððð ðððððððððð >ð>ð>ð>ð>rr'cóL—eZdZdZd„Zd„Zd„Zd„Zd„Ze d„¦«Z d„Z d S) ÚResourceContainerzI Traversable container for a package's resources via its reader. có—||_dSr))r7)r r7s rr+zResourceContainer.__init__Ts €àˆŒ ˆ ˆ rcó—dSr-r r s rr2zResourceContainer.is_dirXr/rcó—dSr1r r s rr.zResourceContainer.is_file[r3rc󶇗ˆfd„‰jjD¦«}tt‰j ¦«¦«}t j||¦«S)Nc3ó8•K—|]}t‰|¦«V—ŒdSr))r')Ú.0rr s €rú z,ResourceContainer.iterdir.._s-øèè€ÐNÐN°•  dÑ+Ô+ÐNÐNÐNÐNÐNÐNr)r7rÚmaprCrÚ itertoolsÚchain)r ÚfilesÚdirss` rÚiterdirzResourceContainer.iterdir^sQø€ØNÐNÐNÐN¸¼ Ô8MÐNÑNÔNˆÝÕ$ d¤k×&:Ò&:Ñ&<Ô&<Ñ=Ô=ˆÝŒ˜u dÑ+Ô+Ð+rcó—t¦«‚r))ÚIsADirectoryError)r r;r<s rr>zResourceContainer.opencs€ÝÑ!Ô!Ð!rc#óJK—|D]}| d¦«Ed{V—†ŒdS)Nú/)r)Úcompound_namesrs rÚ_flattenzResourceContainer._flattenfsDèè€à"ð 'ð 'ˆDØ—z’z #‘”Ð &Ð &Ð &Ð &Ð &Ð &Ð &Ð &ð 'ð 'rc󾇗|s|S| |¦«}t|¦«Štˆfd„| ¦«D¦«¦«j|ŽS)Nc3ó2•K—|]}|j‰k¯ |V—ŒdSr))r)rIÚ traversableÚtargets €rrJz-ResourceContainer.joinpath..ps:øèè€ð ð Ø'¸[Ô=MÐQWÒ=WÐ=WˆKÐ=WÐ=WÐ=WÐ=Wð ð r)rVÚnextrPrA)r Ú descendantsÚnamesrZs @rrAzResourceContainer.joinpathkszø€Øð ؈KØ— ’ ˜kÑ*Ô*ˆÝ�e‘”ˆð�tð ð ð ð Ø+/¯<ª<©>¬>ð ñ ô ñ ô ä �Eðð rN) rrr r!r+r2r.rPr>Ú staticmethodrVrAr rrrCrCOs“€€€€€ðððððððððððð,ð,ð,ð "ð"ð"ðð'ð'ñ„\ð'ðððððrrCcó—eZdZdZd„ZdS)ÚTraversableReaderzÄ A TraversableResources based on SimpleReader. Resource providers may derive from this class to provide the TraversableResources interface by supplying the SimpleReader interface. có —t|¦«Sr))rCr s rrNzTraversableReader.files|s€Ý  Ñ&Ô&Ð&rN)rrr r!rNr rrr`r`us-€€€€€ððð 'ð'ð'ð'ð'rr`)r!r"r8rLÚtypingrrrrÚABCr r'rCr`r rrúrdsðððð € € € Ø € € € ØÐÐÐØ!Ð!Ð!Ð!Ð!Ð!Ð!Ð!à2Ð2Ð2Ð2Ð2Ð2Ð2Ð2ð%+ð%+ð%+ð%+ð%+�3”7ñ%+ô%+ð%+ðP>ð>ð>ð>ð>�[ñ>ô>ð>ð4#ð#ð#ð#ð#˜ ñ#ô#ð#ðL'ð'ð'ð'ð'Ð,¨lñ'ô'ð'ð'ð'r