Your IP : 3.145.16.251


Current Path : /opt/alt/python311/lib64/python3.11/xml/dom/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/xml/dom/__pycache__/domreg.cpython-311.opt-2.pyc

�

c��f{
��8�	ddlZddd�ZiZd�Zd�Zd
d�Zd	�ZdS)�Nzxml.dom.minidomzxml.dom.DOMImplementation)�minidom�4DOMc��	|t|<dS)N)�
registered)�name�factorys  �5/opt/alt/python311/lib64/python3.11/xml/dom/domreg.py�registerDOMImplementationr
s����J�t����c�J�	|D]\}}|�||��sdS�dS)Nr�)�
hasFeature)�dom�features�f�vs    r	�_good_enoughr s?��L������!��~�~�a��"�"�	��1�1�	��1r�c��	ddl}d}t�|��}|r't|iidg��}|���S|rt|��Stjjs$d|j	vrt	|j	d���St|t��rt|��}t
�
��D] }|��}t||��r|cS�!t���D]8}	t	|���}n#t $rY� wxYwt||��r|cS�9t#d���)Nr�getDOMImplementation�
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)rrr�creator�modrs      r	rr's���
C��I�I�I��G�
$�
(�
(��
.�
.�C�
�E���b�"�'=�&>�?�?���'�'�)�)�)�	
�E��$��!�!�!�
�Y�
)�E�l�b�j�.H�.H�#�2�:�l�+C�D�D�D�D��(�C� � �3�(��2�2���$�$�&�&�����g�i�i����X�&�&�	��J�J�J�	�.�2�2�4�4����	�&�g�6�6�6�C�C���	�	�	��H�	������X�&�&�	��J�J�J�	��<�
=�
=�=s�D!�!
D.�-D.c�H�g}|���}d}t|��}||krg||}|ddvrtd|�����|dz}d}||kr||}|ddvr|dz}|}|�||f��||k�gt	|��S)Nr�
0123456789zbad feature name: r
)�split�len�
ValueError�append�tuple)�sr�parts�i�length�feature�versionrs        r	r"r"Rs����H�
�G�G�I�I�E�	�A�
��Z�Z�F�
�f�*�*���(���1�:��%�%��*�w�w�@�A�A�A�
��E�����v�:�:��a��A���t�|�#�#���E��������'�*�+�+�+��f�*�*���?�?�r)Nr)rrrr
rrr"rrr	�<module>r6s}��>��
�
�
� �'�����
�	�	�	�
�
�
�)>�)>�)>�)>�V����r

?>