%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.12/xml/dom/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.12/xml/dom/__pycache__/__init__.cpython-312.pyc

�

���f���
�dZGd�d�ZdZdZdZdZdZdZd	Zd
Z	dZ
dZd
ZdZ
dZdZdZdZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�de�ZGd�d e�ZGd!�d"e�ZGd#�d$e�ZGd%�d&e�ZGd'�d(e�ZGd)�d*e�ZGd+�d,e�ZGd-�d.e�Z Gd/�d0e�Z!Gd1�d2e�Z"Gd3�d4e�Z#Gd5�d6�Z$d7Z%d8Z&d9Z'd:Z(d:Z)dd;l*m+Z+m,Z,y:)<a
W3C Document Object Model implementation for Python.

The Python mapping of the Document Object Model is documented in the
Python Library Reference in the section on the xml.dom package.

This package contains the following modules:

minidom -- A simple implementation of the Level 1 DOM with namespace
           support added (based on the Level 2 specification) and other
           minor Level 2 functionality.

pulldom -- DOM builder supporting on-demand tree-building for selected
           subtrees of the document.

c�D�eZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZy)�Nodez$Class giving the NodeType constants.����������	�
��N)�__name__�
__module__�__qualname__�__doc__�	__slots__�ELEMENT_NODE�ATTRIBUTE_NODE�	TEXT_NODE�CDATA_SECTION_NODE�ENTITY_REFERENCE_NODE�ENTITY_NODE�PROCESSING_INSTRUCTION_NODE�COMMENT_NODE�
DOCUMENT_NODE�DOCUMENT_TYPE_NODE�DOCUMENT_FRAGMENT_NODE�
NOTATION_NODEr��'/usr/lib/python3.12/xml/dom/__init__.pyrrsM��.��I�#$�L�"#�N�"#�I�"#��"#��"#�K�"#��"#�L�"#�M�"$��"$��"$�Mr"rrrrrr	r
rrr
rrr�
���c��eZdZdZd�Zd�Zy)�DOMExceptionzmAbstract base class for DOM exceptions.
    Exceptions with specific codes are specializations of this class.c�p�|jturtd��tj|g|��i|��y)Nz0DOMException should not be instantiated directly)�	__class__r)�RuntimeError�	Exception�__init__)�self�args�kws   r#r.zDOMException.__init__Bs8���>�>�\�)��B�D�
D����4�-�$�-�"�-r"c��|jS)N)�code)r/s r#�	_get_codezDOMException._get_codeHs���y�y�r"N)rrrrr.r4rr"r#r)r)>s��I�.�r"r)c��eZdZeZy)�IndexSizeErrN)rrr�INDEX_SIZE_ERRr3rr"r#r6r6L����Dr"r6c��eZdZeZy)�DomstringSizeErrN)rrr�DOMSTRING_SIZE_ERRr3rr"r#r:r:O����Dr"r:c��eZdZeZy)�HierarchyRequestErrN)rrr�HIERARCHY_REQUEST_ERRr3rr"r#r>r>R��� �Dr"r>c��eZdZeZy)�WrongDocumentErrN)rrr�WRONG_DOCUMENT_ERRr3rr"r#rBrBUr<r"rBc��eZdZeZy)�InvalidCharacterErrN)rrr�INVALID_CHARACTER_ERRr3rr"r#rErEXr@r"rEc��eZdZeZy)�NoDataAllowedErrN)rrr�NO_DATA_ALLOWED_ERRr3rr"r#rHrH[����Dr"rHc��eZdZeZy)�NoModificationAllowedErrN)rrr�NO_MODIFICATION_ALLOWED_ERRr3rr"r#rLrL^s��&�Dr"rLc��eZdZeZy)�NotFoundErrN)rrr�
NOT_FOUND_ERRr3rr"r#rOrOa����Dr"rOc��eZdZeZy)�NotSupportedErrN)rrr�NOT_SUPPORTED_ERRr3rr"r#rSrSd����Dr"rSc��eZdZeZy)�InuseAttributeErrN)rrr�INUSE_ATTRIBUTE_ERRr3rr"r#rWrWgrJr"rWc��eZdZeZy)�InvalidStateErrN)rrr�INVALID_STATE_ERRr3rr"r#rZrZjrUr"rZc��eZdZeZy)�	SyntaxErrN)rrr�
SYNTAX_ERRr3rr"r#r]r]ms���Dr"r]c��eZdZeZy)�InvalidModificationErrN)rrr�INVALID_MODIFICATION_ERRr3rr"r#r`r`ps��#�Dr"r`c��eZdZeZy)�NamespaceErrN)rrr�
NAMESPACE_ERRr3rr"r#rcrcsrQr"rcc��eZdZeZy)�InvalidAccessErrN)rrr�INVALID_ACCESS_ERRr3rr"r#rfrfvr<r"rfc��eZdZeZy)�
ValidationErrN)rrr�VALIDATION_ERRr3rr"r#ririyr8r"ric� �eZdZdZdZdZdZdZy)�UserDataHandlerzBClass giving the operation constants for UserDataHandler.handle().rrrrN)rrrr�NODE_CLONED�
NODE_IMPORTED�NODE_DELETED�NODE_RENAMEDrr"r#rlrl|s��L��K��M��L��Lr"rlz$http://www.w3.org/XML/1998/namespacezhttp://www.w3.org/2000/xmlns/zhttp://www.w3.org/1999/xhtmlN)�getDOMImplementation�registerDOMImplementation)-rrr7r;r?rCrFrIrMrPrTrXr[r^rardrgrjr-r)r6r:r>rBrErHrLrOrSrWrZr]r`rcrfrirl�
XML_NAMESPACE�XMLNS_NAMESPACE�XHTML_NAMESPACE�EMPTY_NAMESPACE�EMPTY_PREFIX�domregrqrrrr"r#�<module>rysh���"%�%�4"#��!"��!"��!"��!"��!"��!"��!"�
�!"��!#��!#��!#�
�!#��!#�
�!#��!#���9���<���|��!�,�!��|��!�,�!��|��'�|�'��,���l������l�����$�\�$��<���|���L����7�
�1��0������C�Cr"

Zerion Mini Shell 1.0