Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /lib64/python3.8/xml/dom/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.8/xml/dom/__pycache__/domreg.cpython-38.pyc
U

e5d{
�@s@dZddlZddd�ZiZdd�Zdd	�Zddd�Zd
d�ZdS)z�Registration facilities for DOM. This module should not be used
directly. Instead, the functions getDOMImplementation and
registerDOMImplementation should be imported from xml.dom.�Nzxml.dom.minidomzxml.dom.DOMImplementation)ZminidomZ4DOMcCs|t|<dS)aIregisterDOMImplementation(name, factory)

    Register the factory function with the name. The factory function
    should return an object which implements the DOMImplementation
    interface. The factory function can either return the same object,
    or a new one (e.g. if that implementation supports some
    customization).N)�
registered)�name�factory�r�&/usr/lib64/python3.8/xml/dom/domreg.py�registerDOMImplementations	rcCs$|D]\}}|�||�sdSqdS)zF_good_enough(dom, features) -> Return 1 if the dom offers the featuresr�)Z
hasFeature)�dom�features�f�vrrr�_good_enough sr
rc	Cs�ddl}d}t�|�}|r2t|iidg�}|��S|r@t|�Stjjsbd|j	krbt|j	dd�St
|t�rtt|�}t�
�D]}|�}t||�r||Sq|t��D]>}zt|d�}Wntk
r�Yq�YnXt||�r�|Sq�td��dS)aSgetDOMImplementation(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.rN�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�||}|ddkrBtd|f��|d}d}||krv||}|ddkrv|d}|}|�||f�qt|�S)Nr�
0123456789zbad feature name: %rr)�split�len�
ValueError�append�tuple)�sr
�parts�iZlengthZfeature�versionrrrrrRs"r)Nr)�__doc__rrrrr
rrrrrr�<module>s�
+
Name
Size
Permissions
Options
NodeFilter.cpython-38.opt-1.pyc
0.946 KB
-rw-r--r--
NodeFilter.cpython-38.opt-2.pyc
0.855 KB
-rw-r--r--
NodeFilter.cpython-38.pyc
0.946 KB
-rw-r--r--
__init__.cpython-38.opt-1.pyc
5.402 KB
-rw-r--r--
__init__.cpython-38.opt-2.pyc
4.626 KB
-rw-r--r--
__init__.cpython-38.pyc
5.402 KB
-rw-r--r--
domreg.cpython-38.opt-1.pyc
2.785 KB
-rw-r--r--
domreg.cpython-38.opt-2.pyc
1.611 KB
-rw-r--r--
domreg.cpython-38.pyc
2.785 KB
-rw-r--r--
expatbuilder.cpython-38.opt-1.pyc
26.18 KB
-rw-r--r--
expatbuilder.cpython-38.opt-2.pyc
23.636 KB
-rw-r--r--
expatbuilder.cpython-38.pyc
26.702 KB
-rw-r--r--
minicompat.cpython-38.opt-1.pyc
2.59 KB
-rw-r--r--
minicompat.cpython-38.opt-2.pyc
2.416 KB
-rw-r--r--
minicompat.cpython-38.pyc
2.68 KB
-rw-r--r--
minidom.cpython-38.opt-1.pyc
53.979 KB
-rw-r--r--
minidom.cpython-38.opt-2.pyc
52.444 KB
-rw-r--r--
minidom.cpython-38.pyc
54.078 KB
-rw-r--r--
pulldom.cpython-38.opt-1.pyc
10.442 KB
-rw-r--r--
pulldom.cpython-38.opt-2.pyc
10.017 KB
-rw-r--r--
pulldom.cpython-38.pyc
10.442 KB
-rw-r--r--
xmlbuilder.cpython-38.opt-1.pyc
12.174 KB
-rw-r--r--
xmlbuilder.cpython-38.opt-2.pyc
11.755 KB
-rw-r--r--
xmlbuilder.cpython-38.pyc
12.203 KB
-rw-r--r--