/opt/alt/python-internal/lib64/python3.11/xml/dom/__pycache__
NameSizeModeActions
domreg.cpython-311.opt-1.pyc42640644editdlrm
domreg.cpython-311.opt-2.pyc30810644editdlrm
domreg.cpython-311.pyc42640644editdlrm
expatbuilder.cpython-311.opt-1.pyc459650644editdlrm
expatbuilder.cpython-311.opt-2.pyc434700644editdlrm
expatbuilder.cpython-311.pyc465020644editdlrm
minicompat.cpython-311.opt-1.pyc37620644editdlrm
minicompat.cpython-311.opt-2.pyc35830644editdlrm
minicompat.cpython-311.pyc39180644editdlrm
minidom.cpython-311.opt-1.pyc958080644editdlrm
minidom.cpython-311.opt-2.pyc933600644editdlrm
minidom.cpython-311.pyc960160644editdlrm
NodeFilter.cpython-311.opt-1.pyc11690644editdlrm
NodeFilter.cpython-311.opt-2.pyc10750644editdlrm
NodeFilter.cpython-311.pyc11690644editdlrm
pulldom.cpython-311.opt-1.pyc183310644editdlrm
pulldom.cpython-311.opt-2.pyc179190644editdlrm
pulldom.cpython-311.pyc183310644editdlrm
xmlbuilder.cpython-311.opt-1.pyc180780644editdlrm
xmlbuilder.cpython-311.opt-2.pyc176490644editdlrm
xmlbuilder.cpython-311.pyc180980644editdlrm
__init__.cpython-311.opt-1.pyc71530644editdlrm
__init__.cpython-311.opt-2.pyc63570644editdlrm
__init__.cpython-311.pyc71530644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/xml/dom/__pycache__/domreg.cpython-311.pyc (4264B)
§ n‡Ø9nöãó:—dZddlZdddœZiZd„Zd„Zd d „Zd „ZdS) z´Registration facilities for DOM. This module should not be used directly. Instead, the functions getDOMImplementation and registerDOMImplementation should be imported from xml.dom.éNzxml.dom.minidomzxml.dom.DOMImplementation)ÚminidomÚ4DOMcó—|t|<dS)aIregisterDOMImplementation(name, factory) Register the factory function with the name. The factory function should return an object which implements the DOMImplementation interface. The factory function can either return the same object, or a new one (e.g. if that implementation supports some customization).N)Ú registered)ÚnameÚfactorys ú;/opt/alt/python-internal/lib64/python3.11/xml/dom/domreg.pyÚregisterDOMImplementationr s€ð…JˆtÑÐÐócóH—|D]\}}| ||¦«sdSŒdS)zF_good_enough(dom, features) -> Return 1 if the dom offers the featuresré)Ú hasFeature)ÚdomÚfeaturesÚfÚvs r Ú _good_enoughr s<€àðð‰ˆˆ!Ø�~Š~˜a Ñ"Ô"ð Ø�1�1ð à ˆ1r ©có¨—ddl}d}t |¦«}|r't|iidg¦«}| ¦«S|rt |¦«St jjs$d|j vrt |j d¬¦«St|t¦«rt|¦«}t   ¦«D] }|¦«}t||¦«r|cSŒ!t ¦«D]8} t |¬¦«}n#t $rYŒ wxYwt||¦«r|cSŒ9t#d¦«‚)aSgetDOMImplementation(name = None, features = ()) -> DOM implementation. Return a suitable DOM implementation. The name is either well-known, the module name of a DOM implementation, or None. If it is not None, imports the corresponding module and returns DOMImplementation object if the import succeeds. If name is not given, consider the available implementations to find one with the required feature set. If no implementation can be found, raise an ImportError. The features list must be a sequence of (feature, version) pairs which are passed to hasFeature.rNÚgetDOMImplementationÚ PYTHON_DOM)rz$no suitable DOM implementation found)ÚosÚwell_known_implementationsÚgetÚ __import__rrÚsysÚflagsÚignore_environmentÚenvironÚ isinstanceÚstrÚ_parse_feature_stringÚvaluesrÚkeysÚ ExceptionÚ ImportError)rrrÚcreatorÚmodrs r rr's�€ð€I€I€IØ€GÝ $× (Ò (¨Ñ .Ô .€CØ ðEݘ˜b "Ð'=Ð&>Ñ?Ô?ˆØ×'Ò'Ñ)Ô)Ð)Ø ðEݘ$ÔÑ!Ô!Ð!Ý ŒYÔ )ðE¨l¸b¼jÐ.HÐ.HÝ#¨2¬:°lÔ+CÐDÑDÔDÐDõ�(�CÑ Ô ð3Ý(¨Ñ2Ô2ˆÝ×$Ò$Ñ&Ô&ððˆØˆg‰iŒiˆÝ ˜˜XÑ &Ô &ð ØˆJˆJˆJð õ.×2Ò2Ñ4Ô4ððˆð Ý&¨gÐ6Ñ6Ô6ˆCˆCøÝð ð ð Ø ˆHð øøøå ˜˜XÑ &Ô &ð ØˆJˆJˆJð õ Ð<Ñ =Ô =Ð=sÄD Ä D-Ä,D-cóH—g}| ¦«}d}t|¦«}||krg||}|ddvrtd|›�¦«‚|dz}d}||kr||}|ddvr|dz}|}| ||f¦«||k°gt |¦«S)NrÚ 0123456789zbad feature name: r )ÚsplitÚlenÚ ValueErrorÚappendÚtuple)ÚsrÚpartsÚiÚlengthÚfeatureÚversionrs r r"r"Rsǀ؀HØ �GŠG‰IŒI€EØ €AÝ �‰ZŒZ€FØ ˆfŠ*ˆ*ؘ”(ˆØ �1Œ:˜Ð %Ð %Ý�*°w°wÐ@ÑAÔAÐ AØ �‰EˆØˆØ ˆvŠ:ˆ:Ø�a”ˆAØ�Œt�|Ð#Ð#ؘ‘E�Ø�Ø�Š˜ 'Ð*Ñ+Ô+Ð+ð ˆfŠ*ˆ*õ �‰?Œ?Ðr )Nr)Ú__doc__rrrr rrr"rr r úr7s‚ðð>ð>ð € € € ð Ø 'ððÐð€ ð ð ð ð ð ð ð)>ð)>ð)>ð)>ðVððððr