/usr/lib64/python2.7/xml/dom
NameSizeModeActions
domreg.py35270644editdlrm
domreg.pyc33840644editdlrm
domreg.pyo33840644editdlrm
expatbuilder.py363830644editdlrm
expatbuilder.pyc329960644editdlrm
expatbuilder.pyo323660644editdlrm
minicompat.py33570644editdlrm
minicompat.pyc34300644editdlrm
minicompat.pyo33180644editdlrm
minidom.py662750644editdlrm
minidom.pyc656050644editdlrm
minidom.pyo654730644editdlrm
NodeFilter.py9370644editdlrm
NodeFilter.pyc11260644editdlrm
NodeFilter.pyo11260644editdlrm
pulldom.py119740644editdlrm
pulldom.pyc130780644editdlrm
pulldom.pyo130780644editdlrm
xmlbuilder.py123370644editdlrm
xmlbuilder.pyc153400644editdlrm
xmlbuilder.pyo152960644editdlrm
__init__.py39980644editdlrm
__init__.pyc64790644editdlrm
__init__.pyo64790644editdlrm
Edit: /usr/lib64/python2.7/xml/dom/domreg.pyo (3384B)
ó {fc@sddZddlTddlZidd6dd6ZiZd„Zd „Zdd d „Zd „Z dS( s´Registration facilities for DOM. This module should not be used directly. Instead, the functions getDOMImplementation and registerDOMImplementation should be imported from xml.dom.iÿÿÿÿ(t*Nsxml.dom.minidomtminidomsxml.dom.DOMImplementationt4DOMcCs|t| Return 1 if the dom offers the featuresii(t hasFeature(tdomtfeaturestftv((s&/usr/lib64/python2.7/xml/dom/domreg.pyt _good_enough"scCs<ddl}d}tj|ƒ}|rIt|iidgƒ}|jƒS|rZt|ƒStjj rŠd|j krŠtd|j dƒSt |t ƒr¨t |ƒ}nx0tjƒD]"}|ƒ}t||ƒrµ|SqµWxQtjƒD]C}ytd|ƒ}Wntk rqènXt||ƒrè|SqèWtd‚dS(sSgetDOMImplementation(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.iÿÿÿÿNtgetDOMImplementationt PYTHON_DOMRs$no suitable DOM implementation found(tostNonetwell_known_implementationstgett __import__R Rtsystflagstignore_environmenttenviront isinstancet StringTypest_parse_feature_stringtvaluesR tkeyst StandardErrort ImportError(RR RtcreatortmodR((s&/usr/lib64/python2.7/xml/dom/domreg.pyR )s0     cCsÍg}|jƒ}d}t|ƒ}xœ||krÂ||}|ddkr`td|f‚n|d}d}||kr¬||}|ddkr¬|d}|}q¬n|j||fƒq'Wt|ƒS(Nit 0123456789sbad feature name: %ri(tsplittlent ValueErrorRtappendttuple(tsR tpartstitlengthtfeaturetversionR ((s&/usr/lib64/python2.7/xml/dom/domreg.pyRTs"        (( t__doc__txml.dom.minicompatRRRRR RR R(((s&/usr/lib64/python2.7/xml/dom/domreg.pyts    +