AlkantarClanX12

Your IP : 3.139.234.124


Current Path : /opt/alt/python310/lib64/python3.10/xml/dom/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/xml/dom/__pycache__/domreg.cpython-310.opt-2.pyc

o

6��f{
�@s>	ddlZddd�ZiZdd�Zdd�Zdd
d�Zdd
�ZdS)�Nzxml.dom.minidomzxml.dom.DOMImplementation)ZminidomZ4DOMcCs	|t|<dS)N)�
registered)�name�factory�r�5/opt/alt/python310/lib64/python3.10/xml/dom/domreg.py�registerDOMImplementationsrcCs&	|D]
\}}|�||�sdSqdS)Nr�)Z
hasFeature)�dom�features�f�vrrr�_good_enough s�r
rc	Cs�	ddl}d}t�|�}|rt|iidg�}|��S|r!t|�Stjjs2d|j	vr2t|j	dd�St
|t�r;t|�}t�
�D]}|�}t||�rM|Sq?t��D]}zt|d�}Wn	tydYqRwt||�rn|SqRtd��)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's8



��
�rcCs�g}|��}d}t|�}||krF||}|ddvr!td|f��|d}d}||kr;||}|ddvr;|d}|}|�||f�||kst|�S)Nr�
0123456789zbad feature name: %rr)�split�len�
ValueError�append�tuple)�sr
�parts�iZlengthZfeature�versionrrrrrRs$�r)Nr)rrrrr
rrrrrr�<module>s�
+