Hacked By AnonymousFox
U
e5d� � @ s� d Z ddddddddd d
ddd
ddddddddddddgZdZddlZddlZddlZddlZddlZddlZddl Z ddl
mZ G dd
� d
e�Z
d d� ZG d!d� d�Zi fd"d�Zd]d#d�Zd^d$d�ZeZG d%d
� d
�ZG d&d� d�Ze jd'd(� �Zd_d)d*�Zd+d,� Zd-Zzee�ZW n ek
�r. Y nX d.d/� Zd0d1� Zeeed2�Zd3d� Z d4d5d6d7d8d9d:d;�Z!e!e _!d<d=� Z"d>d?� Z#d@dA� Z$dBdC� Z%d`dddDdE�dFd�Z&G dGdH� dHej'�Z(dadddDdE�dId�Z)dJd� Z*dbdKd �Z+dcdLd�Z,G dMd� d�Z-dddNd�Z.dedOd�Z/e.Z0dfdPd�Z1G dQd� d�Z2G dRd� d�Z3dgdddS�dTd�Z4e�5dUej6�j7Z8G dVd� d�Z9dWdX� Z:dYdZ� Z;zeZ<dd[l=T dd\l=m>Z> W n e?k
�r� Y nX e>ee� dS )ha Lightweight XML support for Python.
XML is an inherently hierarchical data format, and the most natural way to
represent it is with a tree. This module has two classes for this purpose:
1. ElementTree represents the whole XML document as a tree and
2. Element represents a single node in this tree.
Interactions with the whole document (reading and writing to/from files) are
usually done on the ElementTree level. Interactions with a single XML element
and its sub-elements are done on the Element level.
Element is a flexible container object designed to store hierarchical data
structures in memory. It can be described as a cross between a list and a
dictionary. Each Element has a number of properties associated with it:
'tag' - a string containing the element's name.
'attributes' - a Python dictionary storing the element's attributes.
'text' - a string containing the element's text content.
'tail' - an optional string containing text after the element's end tag.
And a number of child elements stored in a Python sequence.
To create an element instance, use the Element constructor,
or the SubElement factory function.
You can also use the ElementTree class to wrap an element structure
and convert it to and from XML.
�Comment�dump�Element�ElementTree�
fromstring�fromstringlist� iselement� iterparse�parse�
ParseError�PI�ProcessingInstruction�QName�
SubElement�tostring�tostringlist�TreeBuilder�VERSION�XML�XMLID� XMLParser�
XMLPullParser�register_namespace�canonicalize�C14NWriterTargetz1.3.0� N� )�ElementPathc @ s e Zd ZdZdS )r
z�An error when parsing an XML document.
In addition to its exception value, a ParseError contains
two extra attributes:
'code' - the specific exception code
'position' - the line and column of the error
N)�__name__�
__module__�__qualname__�__doc__� r! r! �-/usr/lib64/python3.8/xml/etree/ElementTree.pyr
j s c C s
t | d�S )z2Return True if *element* appears to be an Element.�tag)�hasattr)�elementr! r! r"