00000038  ˆ¾Å ƒh¹Äà1 ˆÀÅ „mÆžgÄÃÂ?÷a ´i¤"ã@sŠdZgd¢ZdZddlZddlZddlZddlZddlZddlZddl Z ddl m Z Gdd„de ƒZ d d „ZGd d „d ƒZifd d„Zd^dd„Zd_dd„ZeZGdd„dƒZGdd„dƒZe jdd„ƒZd`dd„Zdd„ZdZz eeƒZWne�yþYn0dd„Zd d!„Zeeed"œZd#d$„Z d%d&d'd(d)d*d+d,œZ!e!e _!d-d.„Z"d/d0„Z#d1d2„Z$d3d4„Z%daddd5d6œd7d8„Z&Gd9d:„d:ej'ƒZ(dbddd5d6œd;d<„Z)d=d>„Z*dcd@dA„Z+dddBdC„Z,dedDdE„Z-GdFdG„dGƒZ.dfdHdI„Z/dgdJdK„Z0e/Z1dhdLdM„Z2GdNdO„dOƒZ3GdPdQ„dQƒZ4didddRœdSdT„Z5e 6dUej7¡j8Z9GdVdW„dWƒZ:dXdY„Z;dZd[„ZTdd]l>m?Z?Wne@�yzYn 0e?eeƒdS)jaLightweight 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ÚindentÚ iselementÚ iterparseÚparseÚ ParseErrorÚPIÚProcessingInstructionÚQNameÚ SubElementÚtostringÚ tostringlistÚ TreeBuilderÚVERSIONÚXMLÚXMLIDÚ XMLParserÚ XMLPullParserÚregister_namespaceÚ canonicalizeÚC14NWriterTargetz1.3.0éNé)Ú ElementPathc@seZdZdZdS)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.9/xml/etree/ElementTree.pyr jsr cCs t|dƒS)z2Return True if *element* appears to be an Element.Útag)Úhasattr)Úelementr"r"r#rxsrc@seZdZdZdZdZdZdZifdd„Zdd„Z dd„Z d d „Z d d „Z d d„Z dd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd „Zd7d!d"„Zd8d#d$„Zd9d%d&„Zd:d'd(„Zd)d*„Zd;d+d,„Zd-d.„Zd/d0„Zd1d2„Zdtext...tail NcKs:t|tƒstd|jjfƒ‚||_i|¥|¥|_g|_dS)Nzattrib must be dict, not %s)Ú isinstanceÚdictÚ TypeErrorÚ __class__rr$ÚattribÚ _children)Úselfr$r+Ú