AlkantarClanX12

Your IP : 3.144.25.248


Current Path : /opt/alt/python39/lib64/python3.9/xml/dom/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/xml/dom/__pycache__/domreg.cpython-39.opt-2.pyc

a

R�f{
�@s<ddlZddd�ZiZdd�Zdd�Zdd
d�Zdd
�ZdS)�Nzxml.dom.minidomzxml.dom.DOMImplementation)ZminidomZ4DOMcCs|t|<dS)N)�
registered)�name�factory�r�3/opt/alt/python39/lib64/python3.9/xml/dom/domreg.py�registerDOMImplementations	rcCs$|D]\}}|�||�sdSqdS)Nr�)Z
hasFeature)�dom�features�f�vrrr�_good_enough sr
rc	Cs�ddl}d}t�|�}|r2t|iidg�}|��S|r@t|�Stjjsbd|j	vrbt|j	dd�St
|t�rtt|�}t�
�D]}|�}t||�r||Sq|t��D]<}zt|d�}Wnty�Yq�Yn0t||�r�|Sq�td��dS)Nr�getDOMImplementationZ
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)rr
rZcreator�modr	rrrr's0








rcCs�g}|��}d}t|�}||kr�||}|ddvrBtd|f��|d}d}||krv||}|ddvrv|d}|}|�||f�qt|�S)Nr�
0123456789zbad feature name: %rr)�split�len�
ValueError�append�tuple)�sr
�parts�iZlengthZfeature�versionrrrrrRs"r)Nr)rrrrr
rrrrrr�<module>	s�
+