/opt/alt/python311/lib64/python3.11/xml/dom/__pycache__
NameSizeModeActions
domreg.cpython-311.opt-1.pyc42580644editdlrm
domreg.cpython-311.opt-2.pyc30750644editdlrm
domreg.cpython-311.pyc42580644editdlrm
expatbuilder.cpython-311.opt-1.pyc459590644editdlrm
expatbuilder.cpython-311.opt-2.pyc434640644editdlrm
expatbuilder.cpython-311.pyc464960644editdlrm
minicompat.cpython-311.opt-1.pyc37560644editdlrm
minicompat.cpython-311.opt-2.pyc35770644editdlrm
minicompat.cpython-311.pyc39120644editdlrm
minidom.cpython-311.opt-1.pyc958020644editdlrm
minidom.cpython-311.opt-2.pyc933540644editdlrm
minidom.cpython-311.pyc960100644editdlrm
NodeFilter.cpython-311.opt-1.pyc11630644editdlrm
NodeFilter.cpython-311.opt-2.pyc10690644editdlrm
NodeFilter.cpython-311.pyc11630644editdlrm
pulldom.cpython-311.opt-1.pyc183250644editdlrm
pulldom.cpython-311.opt-2.pyc179130644editdlrm
pulldom.cpython-311.pyc183250644editdlrm
xmlbuilder.cpython-311.opt-1.pyc180720644editdlrm
xmlbuilder.cpython-311.opt-2.pyc176430644editdlrm
xmlbuilder.cpython-311.pyc180920644editdlrm
__init__.cpython-311.opt-1.pyc71470644editdlrm
__init__.cpython-311.opt-2.pyc63510644editdlrm
__init__.cpython-311.pyc71470644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/xml/dom/__pycache__/domreg.cpython-311.opt-1.pyc (4258B)
f{ :dZddlZdddZiZdZdZd d Zd ZdS) zRegistration 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)minidom4DOMc|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)namefactorys 5/opt/alt/python311/lib64/python3.11/xml/dom/domreg.pyregisterDOMImplementationr sJtcH|D]\}}|||sdSdS)zF_good_enough(dom, features) -> Return 1 if the dom offers the featuresr) hasFeature)domfeaturesfvs r _good_enoughr s<!~~a"" 11  1r cddl}d}t|}|r't|iidg}|S|rt |St jjs$d|j vrt |j dSt|trt|}t D] }|}t||r|cS!tD]8} t |}n#t $rY wxYwt||r|cS9t#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.rNgetDOMImplementation PYTHON_DOM)rz$no suitable DOM implementation found)oswell_known_implementationsget __import__rrsysflagsignore_environmentenviron isinstancestr_parse_feature_stringvaluesrkeys Exception ImportError)rrrcreatormodrs r rr'sIIIG $ ( ( . .C Eb"'=&>??''))) E$!!! Y )Elbj.H.H#2:l+CDDDD(C  3(22$$&&gii X & & JJJ .2244 &g666CC    H  X & & JJJ  < = ==sD  D-,D-cHg}|}d}t|}||krg||}|ddvrtd||dz}d}||kr||}|ddvr|dz}|}|||f||kgt |S)Nr 0123456789zbad feature name: r )splitlen ValueErrorappendtuple)srpartsilengthfeatureversionrs r r"r"RsH GGIIE A ZZF f**( 1: % %*ww@AA A E v::aAt|##E'*+++ f** ??r )Nr)__doc__rrrr rrr"rr r r7s>>  '       )>)>)>)>Vr