Hacked By AnonymousFox

Current Path : /usr/lib64/python3.6/xml/etree/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/xml/etree/__pycache__/ElementTree.cpython-36.opt-2.pyc

3


 \���@sDdddddddddd	d
ddd
dddddddddgZdZddlZddlZddlZddlZddlZddlZddlm	Z	Gdd	�d	e
�Zdd�ZGdd�d�Z
ifdd
�Zd]d d�Zd^d!d�ZeZGd"d�d�ZGd#d�d�Zejd$d%��Zd_d&d'�Zd(d)�Zd`Zyee�ZWnek
�rYnXd7d8�Zd9d:�Zeeed;�Zd<d�Zd=d>d?d@dAdBdCdD�Zee_dEdF�Z dGdH�Z!dIdJ�Z"dKdL�Z#dadMdN�dOd�Z$GdPdQ�dQej%�Z&dbdMdN�dRd�Z'dSd�Z(dcdTd�Z)dddUd�Z*GdVd�d�Z+dedWd�Z,dfdXd�Z-e,Z.dgdYd�Z/GdZd�d�Z0Gd[d�d�Z1ye
Z2dd\l3TWne4k
�r>YnXdS)h�Comment�dump�Element�ElementTree�
fromstring�fromstringlist�	iselement�	iterparse�parse�
ParseError�PI�ProcessingInstruction�QName�
SubElement�tostring�tostringlist�TreeBuilder�VERSION�XML�XMLID�	XMLParser�
XMLPullParser�register_namespacez1.3.0�N�)�ElementPathc@seZdZdS)r
N)�__name__�
__module__�__qualname__�rr�-/usr/lib64/python3.6/xml/etree/ElementTree.pyr
hs	cCs
t|d�S)N�tag)�hasattr)�elementrrrrvsc@seZdZdZdZdZdZifdd�Zdd�Zdd�Z	dd	�Z
d
d�Zdd
�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd8d d!�Zd9d"d#�Zd:d$d%�Zd;d&d'�Zd(d)�Zd<d*d+�Zd,d-�Zd.d/�Zd0d1�Zd=d2d3�Zd>d4d5�Z d6d7�Z!dS)?rNcKsDt|t�std|jjf��|j�}|j|�||_||_g|_	dS)Nzattrib must be dict, not %s)
�
isinstance�dict�	TypeError�	__class__r�copy�updater �attrib�	_children)�selfr r)�extrarrr�__init__�s

zElement.__init__cCsd|jj|jt|�fS)Nz<%s %r at %#x>)r&rr �id)r+rrr�__repr__�szElement.__repr__cCs|j||�S)N)r&)r+r r)rrr�makeelement�s	zElement.makeelementcCs0|j|j|j�}|j|_|j|_||dd�<|S)N)r0r r)�text�tail)r+�elemrrrr'�s
zElement.copycCs
t|j�S)N)�lenr*)r+rrr�__len__�szElement.__len__cCstjdtdd�t|j�dkS)NzyThe behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.�)�
stacklevelr)�warnings�warn�
FutureWarningr4r*)r+rrr�__bool__�s
zElement.__bool__cCs
|j|S)N)r*)r+�indexrrr�__getitem__�szElement.__getitem__cCs||j|<dS)N)r*)r+r<r"rrr�__setitem__�szElement.__setitem__cCs|j|=dS)N)r*)r+r<rrr�__delitem__�szElement.__delitem__cCs|j|�|jj|�dS)N)�_assert_is_elementr*�append)r+�
subelementrrrrA�s
zElement.appendcCs(x|D]}|j|�qW|jj|�dS)N)r@r*�extend)r+�elementsr"rrrrC�s
zElement.extendcCs|j|�|jj||�dS)N)r@r*�insert)r+r<rBrrrrE�s
zElement.insertcCs t|t�stdt|�j��dS)Nzexpected an Element, not %s)r#�_Element_Pyr%�typer)r+�errrr@�s
zElement._assert_is_elementcCs|jj|�dS)N)r*�remove)r+rBrrrrIs
zElement.removecCstjdtdd�|jS)NzaThis method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.r6)r7)r8r9�DeprecationWarningr*)r+rrr�getchildrens
zElement.getchildrencCstj|||�S)N)r�find)r+�path�
namespacesrrrrL!s	zElement.findcCstj||||�S)N)r�findtext)r+rM�defaultrNrrrrO,szElement.findtextcCstj|||�S)N)r�findall)r+rMrNrrrrQ:s	zElement.findallcCstj|||�S)N)r�iterfind)r+rMrNrrrrREs	zElement.iterfindcCs |jj�g|_d|_|_dS)N)r)�clearr*r1r2)r+rrrrSPs
z
Element.clearcCs|jj||�S)N)r)�get)r+�keyrPrrrrT[szElement.getcCs||j|<dS)N)r))r+rU�valuerrr�sethszElement.setcCs
|jj�S)N)r)�keys)r+rrrrXrszElement.keyscCs
|jj�S)N)r)�items)r+rrrrY{s	z
Element.itemsccsH|dkrd}|dks|j|kr$|Vx|jD]}|j|�EdHq,WdS)N�*)r r*�iter)r+r rHrrrr[�szElement.itercCstjdtdd�t|j|��S)NzbThis method will be removed in future versions.  Use 'elem.iter()' or 'list(elem.iter())' instead.r6)r7)r8r9�PendingDeprecationWarning�listr[)r+r rrr�getiterator�s
zElement.getiteratorccs^|j}t|t�r|dk	rdS|j}|r.|Vx*|D]"}|j�EdH|j}|r4|Vq4WdS)N)r r#�strr1�itertextr2)r+r �trHrrrr`�s
zElement.itertext)N)NN)N)N)N)N)N)"rrrr r)r1r2r-r/r0r'r5r;r=r>r?rArCrEr@rIrKrLrOrQrRrSrTrWrXrYr[r^r`rrrrr{s>	









	

	cKs,|j�}|j|�|j||�}|j|�|S)N)r'r(r0rA)�parentr r)r,r"rrrr�s


cCstt�}||_|S)N)rrr1)r1r"rrrr�s	cCs&tt�}||_|r"|jd||_|S)N� )rrr1)�targetr1r"rrrr�s

c@sVeZdZddd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�ZdS)r
NcCs|rd||f}||_dS)Nz{%s}%s)r1)r+Ztext_or_urir rrrr-�szQName.__init__cCs|jS)N)r1)r+rrr�__str__sz
QName.__str__cCsd|jj|jfS)Nz<%s %r>)r&rr1)r+rrrr/szQName.__repr__cCs
t|j�S)N)�hashr1)r+rrr�__hash__szQName.__hash__cCs t|t�r|j|jkS|j|kS)N)r#r
r1)r+�otherrrr�__le__s
zQName.__le__cCs t|t�r|j|jkS|j|kS)N)r#r
r1)r+rhrrr�__lt__
s
zQName.__lt__cCs t|t�r|j|jkS|j|kS)N)r#r
r1)r+rhrrr�__ge__s
zQName.__ge__cCs t|t�r|j|jkS|j|kS)N)r#r
r1)r+rhrrr�__gt__s
zQName.__gt__cCs t|t�r|j|jkS|j|kS)N)r#r
r1)r+rhrrr�__eq__s
zQName.__eq__)N)rrrr-rer/rgrirjrkrlrmrrrrr
�s
c@s�eZdZddd�Zdd�Zdd�Zddd	�Zdd
d�Zddd
�Zd dd�Z	d!dd�Z
d"dd�Zd#dd�Zd$dd�dd�Z
dd�ZdS)%rNcCs||_|r|j|�dS)N)�_rootr	)r+r"�filerrrr-)szElementTree.__init__cCs|jS)N)rn)r+rrr�getroot/szElementTree.getrootcCs
||_dS)N)rn)r+r"rrr�_setroot3szElementTree._setrootc
Cs�d}t|d�st|d�}d}zZ|dkrHt�}t|d�rH|j|�|_|jSx|jd�}|sZP|j|�qJW|j�|_|jS|r�|j�XdS)NF�read�rbT�_parse_wholei)r!�openrrtrnrr�feed�close)r+�source�parser�close_source�datarrrr	=s&




zElementTree.parsecCs|jj|�S)N)rnr[)r+r rrrr[bs
zElementTree.itercCstjdtdd�t|j|��S)NzbThis method will be removed in future versions.  Use 'tree.iter()' or 'list(tree.iter())' instead.r6)r7)r8r9r\r]r[)r+r rrrr^os
zElementTree.getiteratorcCs:|dd�dkr,d|}tjd|tdd�|jj||�S)Nr�/�.z�This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to %rr6)r7)r8r9r:rnrL)r+rMrNrrrrLxs
zElementTree.findcCs<|dd�dkr,d|}tjd|tdd�|jj|||�S)Nrr|r}z�This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to %rr6)r7)r8r9r:rnrO)r+rMrPrNrrrrO�s
zElementTree.findtextcCs:|dd�dkr,d|}tjd|tdd�|jj||�S)Nrr|r}z�This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to %rr6)r7)r8r9r:rnrQ)r+rMrNrrrrQ�s
zElementTree.findallcCs:|dd�dkr,d|}tjd|tdd�|jj||�S)Nrr|r}z�This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to %rr6)r7)r8r9r:rnrR)r+rMrNrrrrR�s
zElementTree.iterfindT)�short_empty_elementscCs�|s
d}n|tkrtd|��|s4|dkr0d}nd}|j�}t||���}|dkr�|sd|dkr�|dkr�|}	|dkr�ddl}
|
j�}	|d|	f�|d	kr�t||j�n,t|j|�\}}t|}
|
||j|||d
�WdQRXdS)N�xmlzunknown method %r�c14n�utf-8�us-ascii�unicoderz$<?xml version='1.0' encoding='%s'?>
r1)r~)r�r�r�)	�
_serialize�
ValueError�lower�_get_writer�locale�getpreferredencoding�_serialize_textrn�_namespaces)r+�file_or_filename�encodingZxml_declaration�default_namespace�methodr~Z	enc_lower�writeZdeclared_encodingr��qnamesrNZ	serializerrrr��s2
zElementTree.writecCs|j|dd�S)Nr�)r�)r�)r+rorrr�
write_c14n
szElementTree.write_c14n)NN)N)N)N)N)NN)N)N)NNNN)rrrr-rprqr	r[r^rLrOrQrRr�r�rrrrrs 


%

	



5ccs"y
|j}WnPtk
rZ|dkr.t|d�}nt|d|dd�}|�|jVWdQRXYn�X|dkrl|Vn�tj���}t|tj�r�|}nft|tj�r�tj	|�}|j
|j�nBtj�}dd�|_||_y|j
|_
|j|_Wntk
r�YnXtj||ddd�}|j
|j�|jVWdQRXdS)	Nr��w�xmlcharrefreplace)r��errorscSsdS)NTrrrrr�<lambda>3sz_get_writer.<locals>.<lambda>�
)r�r��newline)r��AttributeErrorru�
contextlib�	ExitStackr#�io�BufferedIOBase�	RawIOBase�BufferedWriter�callback�detach�writable�seekable�tell�
TextIOWrapper)r�r�r�ro�stackrrrr�s>



r�csddi�i��rd��<���fdd�}x�|j�D]�}|j}t|t�r\|j�kr�||j�n<t|t�rx|�kr�||�n |dk	r�|tk	r�|tk	r�t|�xR|j	�D]F\}}t|t�r�|j}|�kr�||�t|t�r�|j�kr�||j�q�W|j}t|t�r2|j�kr2||j�q2W��fS)N�cs�y�|dd�dkr�|dd�jdd�\}}�j|�}|dkrjtj|�}|dkrZdt��}|dkrj|�|<|r�d||f�|<q�|�|<n�r�td��|�|<Wntk
r�t|�YnXdS)Nr�{�}zns%drz%s:%sz<cannot use non-qualified names with default_namespace option)�rsplitrT�_namespace_mapr4r�r%�_raise_serialization_error)Zqname�urir �prefix)r�rNr�rr�	add_qnamePs&


z_namespaces.<locals>.add_qname)
r[r r#r
r1r_rrr�rY)r3r�r�r rUrVr1r)r�rNr�rr�Es4




r�cKs�|j}|j}|tkr$|d|��n�|tkr<|d|��nv||}|dkr�|r\|t|��x|D]}t|||d|d�qbW�n2|d|�t|j��}	|	s�|�rD|r�x@t|j�dd�d�D](\}
}|r�d|}|d	|t	|
�f�q�WxZt|	�D]N\}}
t
|t��r|j}t
|
t��r$||
j}
nt	|
�}
|d
|||
f�q�W|�s\t|��s\|�r�|d�|�rv|t|��x |D]}t|||d|d��q|W|d|d�n|d
�|j
�r�|t|j
��dS)Nz	<!--%s-->z<?%s?>)r~�<cSs|dS)Nrr)�xrrrr��sz _serialize_xml.<locals>.<lambda>)rU�:z
 xmlns%s="%s"z %s="%s"�>z</z />)r r1rr�
_escape_cdata�_serialize_xmlr]rY�sorted�_escape_attribr#r
r4r2)r�r3r�rNr~�kwargsr r1rHrY�v�krrrr��sT





r��area�base�basefont�br�col�frame�hr�img�input�isindex�link�meta�paramcKs�|j}|j}|tkr(|dt|���n�|tkrD|dt|���n|||}|dkr�|rd|t|��x|D]}t|||d�qjW�n<|d|�t|j��}|s�|�rH|r�x@t|j�dd�d�D](\}	}
|
r�d|
}
|d|
t	|	�f�q�WxZt|�D]N\}
}	t
|
t��r|
j}
t
|	t��r(||	j}	nt|	�}	|d	||
|	f�q�W|d
�|j
�}|�r�|dk�sr|dk�r|||�n|t|��x|D]}t|||d��q�W|tk�r�|d
|d
�|j�r�|t|j��dS)Nz	<!--%s-->z<?%s?>r�cSs|dS)Nrr)r�rrrr��sz!_serialize_html.<locals>.<lambda>)rUr�z
 xmlns%s="%s"z %s="%s"r�ZscriptZstylez</)r r1rr�r�_serialize_htmlr]rYr�r�r#r
�_escape_attrib_htmlr��
HTML_EMPTYr2)r�r3r�rNr�r r1rHrYr�r�Zltagrrrr��sT





r�cCs.x|j�D]}||�q
W|jr*||j�dS)N)r`r2)r�r3�partrrrr��sr�)r�htmlr1cCsPtjd|�rtd��x.ttj��D]\}}||ks:||kr"t|=q"W|t|<dS)Nzns\d+$z'Prefix format reserved for internal use)�re�matchr�r]r�rY)r�r�r�r�rrrr�s
rr�ZrdfZwsdlZxsZxsiZdc)z$http://www.w3.org/XML/1998/namespacezhttp://www.w3.org/1999/xhtmlz+http://www.w3.org/1999/02/22-rdf-syntax-ns#z http://schemas.xmlsoap.org/wsdl/z http://www.w3.org/2001/XMLSchemaz)http://www.w3.org/2001/XMLSchema-instancez http://purl.org/dc/elements/1.1/cCstd|t|�jf��dS)Nzcannot serialize %r (type %s))r%rGr)r1rrrr�sr�cCsfy@d|kr|jdd�}d|kr*|jdd�}d|kr>|jdd�}|Sttfk
r`t|�YnXdS)N�&z&amp;r�z&lt;r�z&gt;)�replacer%r�r�)r1rrrr�$sr�cCs�y�d|kr|jdd�}d|kr*|jdd�}d|kr>|jdd�}d|krR|jdd�}d	|krf|jd	d
�}d|krz|jdd
�}d
|kr�|jd
d�}d
|kr�|jd
d�}|Sttfk
r�t|�YnXdS)Nr�z&amp;r�z&lt;r�z&gt;�"z&quot;z
r��
z&#10;�	z&#09;)r�r%r�r�)r1rrrr�4s(r�cCsfy@d|kr|jdd�}d|kr*|jdd�}d|kr>|jdd�}|Sttfk
r`t|�YnXdS)Nr�z&amp;r�z&gt;r�z&quot;)r�r%r�r�)r1rrrr�Psr�T)r~cCs6|dkrtj�ntj�}t|�j||||d�|j�S)Nr�)r�r~)r��StringIO�BytesIOrr��getvalue)r"r�r�r~�streamrrrr_sc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�_ListDataStreamcCs
||_dS)N)�lst)r+r�rrrr-tsz_ListDataStream.__init__cCsdS)NTr)r+rrrr�wsz_ListDataStream.writablecCsdS)NTr)r+rrrr�zsz_ListDataStream.seekablecCs|jj|�dS)N)r�rA)r+�brrrr�}sz_ListDataStream.writecCs
t|j�S)N)r4r�)r+rrrr��sz_ListDataStream.tellN)rrrr-r�r�r�r�rrrrr�rs
r�cCs&g}t|�}t|�j||||d�|S)N)r�r~)r�rr�)r"r�r�r~r�r�rrrr�s
cCsNt|t�st|�}|jtjdd�|j�j}|s>|ddkrJtjjd�dS)Nr�)r�rr����)r#rr��sys�stdoutrpr2)r3r2rrrr�s

cCst�}|j||�|S)N)rr	)rxry�treerrrr	�s	csdt||d������fdd��G�fdd�dtj�}|��d�_�~d�t�d�s`t�d��d	��S)
N)�events�_parserc
3sbzNx,�j�EdH�jd�}|s"P�j|�qW�j�}�j�EdH|�_Wd�r\�j�XdS)N�ii@)�read_eventsrrrv�_close_and_return_root�rootrw)r{r�)rz�it�
pullparserrxrr�iterator�s

ziterparse.<locals>.iteratorcseZdZ��jZdS)z$iterparse.<locals>.IterParseIteratorN)rrr�__next__r)r�rr�IterParseIterator�sr�FrrrsT)r�collections�Iteratorr�r!ru)rxr�ryr�r)rzr�r�r�rxrr�s

c@s<eZdZd
dd�dd�Zdd�Zdd�Zd	d
�Zdd�ZdS)rN)r�cCs<tj�|_|ptt�d�|_|dkr(d}|jj|j|�dS)N)rd�end)r�)r��deque�
_events_queuerrr��
_setevents)r+r�r�rrrr-�s

zXMLPullParser.__init__cCsZ|jdkrtd��|rVy|jj|�Wn.tk
rT}z|jj|�WYdd}~XnXdS)Nz!feed() called after end of stream)r�r�rv�SyntaxErrorr�rA)r+r{�excrrrrv�s
zXMLPullParser.feedcCs|jj�}d|_|S)N)r�rw)r+r�rrrr��s
z$XMLPullParser._close_and_return_rootcCs|j�dS)N)r�)r+rrrrw�szXMLPullParser.closeccs2|j}x&|r,|j�}t|t�r$|�q|VqWdS)N)r��popleftr#�	Exception)r+r��eventrrrr�s
zXMLPullParser.read_events)N)rrrr-rvr�rwr�rrrrr�s

cCs"|stt�d�}|j|�|j�S)N)rd)rrrvrw)r1ryrrrrs
cCsV|stt�d�}|j|�|j�}i}x&|j�D]}|jd�}|r0|||<q0W||fS)N)rdr.)rrrvrwr[rT)r1ryr�Zidsr3r.rrrr&s


cCs0|stt�d�}x|D]}|j|�qW|j�S)N)rd)rrrvrw)Zsequenceryr1rrrr>s
	
c@s>eZdZddd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�ZdS)rNcCs.g|_g|_d|_d|_|dkr$t}||_dS)N)�_data�_elem�_last�_tailr�_factory)r+Zelement_factoryrrrr-]szTreeBuilder.__init__cCs|jS)N)r�)r+rrrrwfszTreeBuilder.closecCs>|jr:|jdk	r4dj|j�}|jr,||j_n||j_g|_dS)Nr�)r�r��joinr�r2r1)r+r1rrr�_flushls

zTreeBuilder._flushcCs|jj|�dS)N)r�rA)r+r{rrrr{xszTreeBuilder.datacCsF|j�|j||�|_}|jr0|jdj|�|jj|�d|_|S)Nrrr�)r�r�r�r�rAr�)r+r Zattrsr3rrr�start|szTreeBuilder.startcCs |j�|jj�|_d|_|jS)Nr)r�r��popr�r�)r+r rrrr��szTreeBuilder.end)N)	rrrr-rwr�r{r�r�rrrrrPs
	c@sbeZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
e
Zdd�Zdd�Z
dS)rrNcCs<yddlm}Wn>tk
rNyddl}Wntk
rHtd��YnXYnX|j|d�}|dkrjt�}||_|_||_|_	|j
|_i|_|j
|_t|d�r�|j|_t|d�r�|j|_t|d�r�|j|_t|d�r�|j|_t|d	�r�|j|_d
|_d
|_d
|_d|_i|_yd|j|_ Wnt!k
�r6YnXdS)Nr)�expatz7No module named expat; use SimpleXMLTreeBuilder insteadr�r�r�r{�comment�pirzExpat %d.%d.%d)"�xml.parsersr��ImportErrorZpyexpatZParserCreaterryr�rd�_target�error�_error�_names�_defaultZDefaultHandlerExpandr!�_start�StartElementHandler�_end�EndElementHandlerr{ZCharacterDataHandlerr�ZCommentHandlerrZProcessingInstructionHandlerZbuffer_text�ordered_attributes�specified_attributes�_doctype�entity�version_info�versionr�)r+r�rdr�r�ryrrrr-�sF




zXMLParser.__init__cCs�|j}|j}x�|D]�}|dkrDd|_d|_|||jfdd�}||_q|dkrf|||jfdd�}||_q|dkr�||fdd�}||_q|d	kr�||fd
d�}||_	qt
d|��qWdS)Nr�rcSs|||||�f�dS)Nr)r Z	attrib_inr�rAr�rrr�handler�sz%XMLParser._setevents.<locals>.handlerr�cSs||||�f�dS)Nr)r r�rAr�rrrr�szstart-nscSs|||p
d|pdff�dS)Nr�r)r�r�r�rArrrr�szend-nscSs||df�dS)Nr)r�r�rArrrr�szunknown event %r)r�rArr
rr	r
rZStartNamespaceDeclHandlerZEndNamespaceDeclHandlerr�)r+Zevents_queueZevents_to_reportryrAZ
event_namerrrrr��s(
zXMLParser._seteventscCs&t|�}|j|_|j|jf|_|�dS)N)r
�code�lineno�offsetZposition)r+rV�errrrr�_raiseerror�szXMLParser._raiseerrorcCsFy|j|}Wn2tk
r@|}d|kr2d|}||j|<YnX|S)Nr�r�)r�KeyError)r+rU�namerrr�_fixname�szXMLParser._fixnamecCsV|j}||�}i}|rHx0tdt|�d�D]}||d||||�<q(W|jj||�S)Nrr6r)r�ranger4rdr�)r+r Z	attr_listZfixnamer)�irrrrszXMLParser._startcCs|jj|j|��S)N)rdr�r)r+r rrrr
szXMLParser._endcCs�|dd�}|dkr�y|jj}Wntk
r4dSXy||j|dd��WnZtk
r�ddlm}|jd||jj	|jj
f�}d|_|jj	|_|jj
|_
|�YnX�nD|dkr�|dd�d	kr�g|_�n"|jdk	�r�|d
kr�d|_dS|j�}|�sdS|jj|�t|j�}|dk�r�|jd}|dk�rb|d
k�rb|j\}}}	}
|	�r�|	dd�}	n*|dk�r�|dk�r�|j\}}}
d}	ndSt|jd��r�|jj||	|
dd��n:|j|jk�r�|j||	|
dd��|j||	|
dd��d|_dS)Nrr�r)r�z'undefined entity %s: line %d, column %d�r��	z	<!DOCTYPEr�r6ZPUBLIC�ZSYSTEM��doctyper�r�r�r�r�)rdr{r�rrrr�rryZErrorLineNumberZErrorColumnNumberrrrr�striprAr4r!r!�_XMLParser__doctype)r+r1r�Zdata_handlerr�r�nrGr�pubid�systemrrrrsZ





zXMLParser._defaultcCstjdt�dS)Nz[This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.)r8r9rJ)r+rr%r&rrrr!EszXMLParser.doctypecCsFy|jj|d�Wn.|jk
r@}z|j|�WYdd}~XnXdS)Nr)ry�Parserr)r+r{r�rrrrvUszXMLParser.feedcCs�y|jjdd�Wn.|jk
r@}z|j|�WYdd}~XnXz,y|jj}Wntk
rdYnX|�SWd|`|`|`|`XdS)Nr�r)	ryr'rrrdrwr�r�r)r+r�Z
close_handlerrrrrw\s
zXMLParser.close)rNN)rrrr-r�rrrr
rr!r#rvrwrrrrr�s
*!4)rZ)N)N)N)
r�r�r�r�r�r�r�r�r�r�r�r�r�)NN)NN)N)NN)N)N)N)5�__all__rr�r�r8r�r�r�r�rr�r
rrrrrrr
r�contextmanagerr�r�r�r�rW�	NameErrorr�r�r�rr�r�r�r�r�rr�r�rrr	rrrrrrrrrFZ_elementtreerrrrr�<module>Ks�A

0t4
=22

05


KU

Hacked By AnonymousFox1.0, Coded By AnonymousFox