MINI MINI MANI MO

Path : /lib64/python3.6/xml/dom/__pycache__/
File Upload :
Current File : //lib64/python3.6/xml/dom/__pycache__/domreg.cpython-36.opt-2.pyc

3


 \{
@s@ddlZdddZiZddZddZdffd	d
ZddZdS)
Nzxml.dom.minidomzxml.dom.DOMImplementation)ZminidomZ4DOMcCs|t|<dS)N)
registered)namefactoryr&/usr/lib64/python3.6/xml/dom/domreg.pyregisterDOMImplementations	rcCs&x |D]\}}|j||sdSqWdS)Nr)Z
hasFeature)domfeaturesfvrrr_good_enough sr
cCsddl}d}tj|}|r2t|iidg}|jS|r@t|Stjjrdd|j	krdt|j	ddSt
|trvt|}x$tj
D]}|}t||r|SqWxDtjD]8}yt|d}Wntk
rwYnXt||r|SqWtddS)NrgetDOMImplementationZ
PYTHON_DOM)rz$no suitable DOM implementation found)oswell_known_implementationsget
__import__rrsysflagsignore_environmentenviron
isinstancestr_parse_feature_stringvaluesr
keys	ExceptionImportError)rr
rZcreatormodr	rrrr's0





rcCsg}|j}d}t|}xp||kr||}|ddkrDtd|f|d}d}||krx||}|ddkrx|d}|}|j||fqWt|S)Nr
0123456789zbad feature name: %rr)splitlen
ValueErrorappendtuple)sr
partsiZlengthZfeatureversionrrrrrRs"
r)rrrrr
rrrrrr<module>	s+

OHA YOOOO