Hacked By AnonymousFox
3
\� � @ 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 ZdZf ZdZdZdZdZdZ dZ
dZd Zd
Z
dZdZd
ZdS )�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_NODE� r r �(/usr/lib64/python3.6/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"