Your IP : 18.222.182.226
U
i�f� � @ s� d Z G dd� d�ZdZdZdZdZdZdZd Zd
Z dZ
dZd
ZdZ
dZdZdZdZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&e�ZG d'd(� d(e�ZG d)d*� d*e�ZG d+d,� d,e�ZG d-d.� d.e�Z G d/d0� d0e�Z!G d1d2� d2e�Z"G d3d4� d4e�Z#G d5d6� d6�Z$d7Z%d8Z&d9Z'd:Z(d:Z)dd;l*m+Z+m,Z, d:S )<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 @ sD e Zd ZdZdZdZdZdZdZdZ dZ
d Zd
ZdZ
dZd
ZdZdS )�Nodez$Class giving the NodeType constants.� � � � � � � � � � �
� � N)�__name__�
__module__�__qualname__�__doc__� __slots__ZELEMENT_NODEZATTRIBUTE_NODEZ TEXT_NODEZCDATA_SECTION_NODEZENTITY_REFERENCE_NODEZENTITY_NODEZPROCESSING_INSTRUCTION_NODEZCOMMENT_NODEZ
DOCUMENT_NODEZDOCUMENT_TYPE_NODEZDOCUMENT_FRAGMENT_NODEZ
NOTATION_NODEr r r �5/opt/alt/python38/lib64/python3.8/xml/dom/__init__.pyr s r r r r r r r r r
r r r
r �
� � � c @ s e Zd ZdZdd� Zdd� ZdS )�DOMExceptionzmAbstract base class for DOM exceptions.
Exceptions with specific codes are specializations of this class.c O s( | j tkrtd��tj| f|�|� d S )Nz0DOMException should not be instantiated directly)� __class__r �RuntimeError� Exception�__init__)�self�args�kwr r r r B s
�zDOMException.__init__c C s | j S )N)�code)r r r r � _get_codeH s zDOMException._get_codeN)r r r r r r"