Files
PowerToys/PythonHome/Lib/xml/etree/ElementTree.pyc

129 lines
34 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<EFBFBD>W`Sc@s5dddddddddd d
d d d dddddddgZdZddlZddlZddlZdefd<00><00>YZyddlmZWne k
r<>e<00>ZnXd e
fd<00><00>YZ d<00>Z defd<00><00>YZ e ZZid<00>Zed <00>Zed!<00>ZeZd efd"<00><00>YZdefd#<00><00>YZed$<00>Zd%<00>Zd&d'd(d)d*d+d,d-d.d/d0d1d2f Zyee<00>ZWnek
r<>nXd3<00>Zd4<00>Zied56ed66ed76Zd8<00>Zid5d96d6d:6d;d<6d=d>6d?d@6dAdB6dCdD6Z dE<00>Z!dF<00>Z"dG<00>Z#dH<00>Z$dI<00>Z%eedJ<00>Z&eedK<00>Z'dL<00>Z(edM<00>Z)eedN<00>Z*dOefdP<00><00>YZ+edQ<00>Z,edR<00>Z-e,Z.edS<00>Z/defdT<00><00>YZ0defdU<00><00>YZ1e1Z2yddVl3m4Z4e4edW<Wne k
r0nXdS(XtCommenttdumptElementt ElementTreet
fromstringtfromstringlistt iselementt iterparsetparset
ParseErrortPItProcessingInstructiontQNamet
SubElementttostringt tostringlistt TreeBuildertVERSIONtXMLt XMLParsertXMLTreeBuilders1.3.0i<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Nt_SimpleElementPathcBs;eZdd<00>Zddd<00>Zdd<00>Zdd<00>ZRS(cCs(x!|D]}|j|kr|SqWdS(N(ttagtNone(tselftelementRt
namespacestelem((s(C:\Python27\lib\xml\etree\ElementTree.pytfindjs cCs/|j||<00>}|dkr"|S|jp.dS(Nt(RRttext(RRRtdefaultRR((s(C:\Python27\lib\xml\etree\ElementTree.pytfindtextos ccsb|d dkr6x#|j|d<1F>D] }|Vq$Wnx%|D]}|j|kr=|Vq=q=WdS(Nis.//(titerR(RRRRR((s(C:\Python27\lib\xml\etree\ElementTree.pytiterfindts   cCst|j|||<00><00>S(N(tlistR"(RRRR((s(C:\Python27\lib\xml\etree\ElementTree.pytfindall{sN(t__name__t
__module__RRR R"R$(((s(C:\Python27\lib\xml\etree\ElementTree.pyRhs  i(t ElementPathcBseZRS((R%R&(((s(C:\Python27\lib\xml\etree\ElementTree.pyR <00>scCst|t<00>pt|d<00>S(NR(t
isinstanceRthasattr(R((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>scBs%eZdZdZdZdZid<00>Zd<00>Zd<00>Z d<00>Z
d<00>Z d<00>Z d<00>Z d<00>Zd<00>Zd <00>Zd
<00>Zd <00>Zd <00>Zd <00>Zdd<00>Zddd<00>Zdd<00>Zdd<00>Zd<00>Zdd<00>Zd<00>Zd<00>Zd<00>Zdd<00>Zdd<00>Zd<00>Z RS(cKs8|j<00>}|j|<00>||_||_g|_dS(N(tcopytupdateRtattribt _children(RRR,textra((s(C:\Python27\lib\xml\etree\ElementTree.pyt__init__<5F>s
    cCsdt|j<00>t|<00>fS(Ns<Element %s at 0x%x>(treprRtid(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt__repr__<5F>scCs|j||<00>S(N(t __class__(RRR,((s(C:\Python27\lib\xml\etree\ElementTree.pyt makeelement<6E>scCs;|j|j|j<00>}|j|_|j|_||(|S(N(R4RR,Rttail(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR*<00>s
  cCs t|j<00>S(N(tlenR-(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt__len__<5F>scCs)tjdtdd<00>t|j<00>dkS(NsyThe behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.t
stacklevelii(twarningstwarnt FutureWarningR6R-(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt __nonzero__<5F>s cCs |j|S(N(R-(Rtindex((s(C:\Python27\lib\xml\etree\ElementTree.pyt __getitem__ scCs||j|<dS(N(R-(RR=R((s(C:\Python27\lib\xml\etree\ElementTree.pyt __setitem__scCs|j|=dS(N(R-(RR=((s(C:\Python27\lib\xml\etree\ElementTree.pyt __delitem__!scCs|jj|<00>dS(N(R-tappend(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyRA,scCs|jj|<00>dS(N(R-textend(Rtelements((s(C:\Python27\lib\xml\etree\ElementTree.pyRB6scCs|jj||<00>dS(N(R-tinsert(RR=R((s(C:\Python27\lib\xml\etree\ElementTree.pyRD@scCs|jj|<00>dS(N(R-tremove(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyREOscCstjdtdd<00>|jS(NsaThis method will be removed in future versions. Use 'list(elem)' or iteration over elem instead.R8i(R9R:tDeprecationWarningR-(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt getchildrenZs cCstj|||<00>S(N(R'R(RtpathR((s(C:\Python27\lib\xml\etree\ElementTree.pyRjscCstj||||<00>S(N(R'R (RRHRR((s(C:\Python27\lib\xml\etree\ElementTree.pyR yscCstj|||<00>S(N(R'R$(RRHR((s(C:\Python27\lib\xml\etree\ElementTree.pyR$<00>scCstj|||<00>S(N(R'R"(RRHR((s(C:\Python27\lib\xml\etree\ElementTree.pyR"<00>scCs*|jj<00>g|_d|_|_dS(N(R,tclearR-RRR5(R((s(C:\Python27\lib\xml\etree\ElementTree.pyRI<00>s  cCs|jj||<00>S(N(R,tget(RtkeyR((s(C:\Python27\lib\xml\etree\ElementTree.pyRJ<00>scCs||j|<dS(N(R,(RRKtvalue((s(C:\Python27\lib\xml\etree\ElementTree.pytset<65>scCs |jj<00>S(N(R,tkeys(R((s(C:\Python27\lib\xml\etree\ElementTree.pyRN<00>scCs |jj<00>S(N(R,titems(R((s(C:\Python27\lib\xml\etree\ElementTree.pyRO<00>sccso|dkrd}n|dks0|j|kr8|Vnx0|jD]%}x|j|<00>D] }|VqXWqBWdS(Nt*(RRR-R!(RRte((s(C:\Python27\lib\xml\etree\ElementTree.pyR!<00>s  cCs)tjdtdd<00>t|j|<00><00>S(NsbThis method will be removed in future versions. Use 'elem.iter()' or 'list(elem.iter())' instead.R8i(R9R:tPendingDeprecationWarningR#R!(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyt getiterator<6F>s ccs<>|j}t|t<00> r)|dk r)dS|jr=|jVnx>|D]6}x|j<00>D] }|VqWW|jrD|jVqDqDWdS(N(RR(t
basestringRRtitertextR5(RRRQts((s(C:\Python27\lib\xml\etree\ElementTree.pyRU<00>s      N(!R%R&RRR,RR5R/R2R4R*R7R<R>R?R@RARBRDRERGRR R$R"RIRJRMRNROR!RSRU(((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s<
 
  

    

cKs<|j<00>}|j|<00>|j||<00>}|j|<00>|S(N(R*R+R4RA(tparentRR,R.R((s(C:\Python27\lib\xml\etree\ElementTree.pyR s
   cCstt<00>}||_|S(N(RRR(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR"s  cCs6tt<00>}||_|r2|jd||_n|S(Nt (RR R(ttargetRR((s(C:\Python27\lib\xml\etree\ElementTree.pyR 1s
  cBs/eZdd<00>Zd<00>Zd<00>Zd<00>ZRS(cCs&|rd||f}n||_dS(Ns{%s}%s(R(Rt text_or_uriR((s(C:\Python27\lib\xml\etree\ElementTree.pyR/EscCs|jS(N(R(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt__str__IscCs t|j<00>S(N(thashR(R((s(C:\Python27\lib\xml\etree\ElementTree.pyt__hash__KscCs2t|t<00>r"t|j|j<00>St|j|<00>S(N(R(R tcmpR(Rtother((s(C:\Python27\lib\xml\etree\ElementTree.pyt__cmp__MsN(R%R&RR/R[R]R`(((s(C:\Python27\lib\xml\etree\ElementTree.pyR Ds   cBs<>eZd d d<00>Zd<00>Zd<00>Zd d<00>Zd d<00>Zd d<00>Zd d<00>Z d d d<00>Z
d d<00>Z d d <00>Z d d d d d
<00>Z d <00>ZRS( cCs#||_|r|j|<00>ndS(N(t_rootR(RRtfile((s(C:\Python27\lib\xml\etree\ElementTree.pyR/_s cCs|jS(N(Ra(R((s(C:\Python27\lib\xml\etree\ElementTree.pytgetrootkscCs ||_dS(N(Ra(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyt_setrootuscCs<>t}t|d<00>s-t|d<00>}t}nza|sKtdt<00><00>}nx)|jd<00>}|sgPn|j|<00>qN|j<00>|_ |j SWd|r<>|j<00>nXdS(NtreadtrbRYi(
tFalseR)topentTrueRRRetfeedtcloseRa(Rtsourcetparsert close_sourcetdata((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s   cCs|jj|<00>S(N(RaR!(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR!<00>scCs)tjdtdd<00>t|j|<00><00>S(NsbThis method will be removed in future versions. Use 'tree.iter()' or 'list(tree.iter())' instead.R8i(R9R:RRR#R!(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyRS<00>s cCsJ|d dkr7d|}tjd|tdd<00>n|jj||<00>S(Nit/t.s<>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 %rR8i(R9R:R;RaR(RRHR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s
cCsM|d dkr7d|}tjd|tdd<00>n|jj|||<00>S(NiRpRqs<>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 %rR8i(R9R:R;RaR (RRHRR((s(C:\Python27\lib\xml\etree\ElementTree.pyR <00>s
cCsJ|d dkr7d|}tjd|tdd<00>n|jj||<00>S(NiRpRqs<>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 %rR8i(R9R:R;RaR$(RRHR((s(C:\Python27\lib\xml\etree\ElementTree.pyR$<00>s
cCsJ|d dkr7d|}tjd|tdd<00>n|jj||<00>S(NiRpRqs<>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 %rR8i(R9R:R;RaR"(RRHR((s(C:\Python27\lib\xml\etree\ElementTree.pyR"<00>s
c Cs=|sd}n|tkr.td|<16><00>nt|d<00>rF|}nt|d<00>}|j}|s<>|dkryd}q<>d}n>|s<>|dkr<>|d
kr<>|dkr<>|d|<16>q<>n|d kr<>t||j|<00>n>t|j||<00>\}} t|}
|
||j||| <00>||k r9|j <00>ndS( Ntxmlsunknown method %rtwritetwbtc14nsutf-8sus-asciis$<?xml version='1.0' encoding='%s'?>
R(sutf-8sus-ascii(
t
_serializet
ValueErrorR)RhRsRt_serialize_textRat _namespacesRk( Rtfile_or_filenametencodingtxml_declarationtdefault_namespacetmethodRbRstqnamesRt serialize((s(C:\Python27\lib\xml\etree\ElementTree.pyRss0          
 cCs|j|dd<00>S(NR~Ru(Rs(RRb((s(C:\Python27\lib\xml\etree\ElementTree.pyt
write_c14n8sN(R%R&RR/RcRdRR!RSRR R$R"RsR<>(((s(C:\Python27\lib\xml\etree\ElementTree.pyR]s
       c s<>idd6<>i<00><00>r&d<00><00><n<00>fd<00><00><00><00><00><00>fd<00>}y |j}Wntk
rv|j}nXx]|<00>D]R}|j}t|t<00>r<>|j<00>kr||j<00>qn\t|t<00>r<>|<00>kr||<00>qn1|dk r|t k r|t
k rt |<00>nx||j <00>D]n\}}t|t<00>rQ|j}n|<00>krj||<00>nt|t<00>r*|j<00>kr*||j<00>q*q*W|j}t|t<00>r<>|j<00>kr<>||j<00>q<>q<>W<><00>fS(NRcs |j<00><00>S(N(tencode(R(R{(s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>Jscsy<>|d dkr<>|djdd<00>\}}<00>j|<00>}|dkr<>tj|<00>}|dkrxdt<00><00>}n|dkr<>|<00>|<q<>n|r<><00>d||f<16><00>|<q<><00>|<00><00>|<n%<00>r<>td<00><00>n<00>|<00><00>|<Wntk
r t|<00>nXdS(Nit{t}sns%dRrs%s:%ss<cannot use non-qualified names with default_namespace option(trsplitRJRt_namespace_mapR6Rwt TypeErrort_raise_serialization_error(tqnameturiRtprefix(R}R<>RR(s(C:\Python27\lib\xml\etree\ElementTree.pyt add_qnameMs&     ( RR!tAttributeErrorRSRR(R RRTRR
R<>RO( RR{R}R<>titerateRRKRLR((R}R<>R{RRs(C:\Python27\lib\xml\etree\ElementTree.pyRy?s>       $     c Css|j}|j}|tkr8|dt||<00><16>n|tkr^|dt||<00><16>n<>||}|dkr<>|r<>|t||<00><00>nx<>|D]}t||||d<00>q<>Wn<57>|d|<17>|j<00>}|s<>|r<>|rNxet |j<00>dd<00><00>D]E\} }
|
r!d|
}
n|d|
j
|<00>t | |<00>f<16>qWnx~t |<00>D]m\}
} t |
t <00>r<>|
j}
nt | t <00>r<>|| j} nt | |<00>} |d||
| f<16>q[Wn|s<>t|<00>rC|d <00>|r|t||<00><00>nx$|D]}t||||d<00>qW|d
|d <17>n
|d <00>|jro|t|j|<00><00>ndS( Ns <!--%s-->s<?%s?>t<RKcSs|dS(Ni((tx((s(C:\Python27\lib\xml\etree\ElementTree.pyt<lambda><3E>st:s xmlns%s="%s"s %s="%s"t>s</s />(RRRt_encodeR Rt _escape_cdatat_serialize_xmlROtsortedR<64>t_escape_attribR(R R6R5( RsRR{RRRRRQROtvtk((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>sP    
       
 
 tareatbasetbasefonttbrtcoltframethrtimgtinputtisindextlinktmetatparamc Cs<>|j}|j}|tkr8|dt||<00><16>n?|tkr^|dt||<00><16>n||}|dkr<>|r<>|t||<00><00>nx<>|D]}t||||d<00>q<>Wn<57>|d|<17>|j<00>}|s<>|r<>|rNxet|j<00>dd<00><00>D]E\} }
|
r!d|
}
n|d|
j |<00>t
| |<00>f<16>qWnx~t|<00>D]m\}
} t |
t <00>r<>|
j}
nt | t <00>r<>|| j} nt | |<00>} |d||
| f<16>q[Wn|d <00>|j<00>} |r/| d
ks| d kr|t||<00><00>q/|t||<00><00>nx$|D]}t||||d<00>q6W| tkrw|d |d <17>n|jr<>|t|j|<00><00>ndS( Ns <!--%s-->s<?%s?>R<>RKcSs|dS(Ni((R<>((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>sR<>s xmlns%s="%s"s %s="%s"R<>tscripttstyles</(RRRR<>R Rt_serialize_htmlROR<>R<>R<>R(R t_escape_attrib_htmltlowerR<72>t
HTML_EMPTYR5( RsRR{RRRRRQROR<>R<>tltag((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>sT    
       
    cCsPx'|j<00>D]}||j|<00><00>q W|jrL||jj|<00><00>ndS(N(RUR<>R5(RsRR{tpart((s(C:\Python27\lib\xml\etree\ElementTree.pyRx<00>s RrthtmlRcCsntjd|<00>r!td<00><00>nx<tj<00>D].\}}||ksR||kr.t|=q.q.W|t|<dS(Nsns\d+$s'Prefix format reserved for internal use(tretmatchRwR<>RO(R<>R<>R<>R<>((s(C:\Python27\lib\xml\etree\ElementTree.pytregister_namespaces s$http://www.w3.org/XML/1998/namespaceshttp://www.w3.org/1999/xhtmltrdfs+http://www.w3.org/1999/02/22-rdf-syntax-ns#twsdls http://schemas.xmlsoap.org/wsdl/txss http://www.w3.org/2001/XMLSchematxsis)http://www.w3.org/2001/XMLSchema-instancetdcs http://purl.org/dc/elements/1.1/cCs#td|t|<00>jf<16><00>dS(Nscannot serialize %r (type %s)(R<>ttypeR%(R((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>scCs<y|j|d<00>SWn!ttfk
r7t|<00>nXdS(Ntxmlcharrefreplace(R<>R<>R<>R<>(RR{((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>scCs<>ywd|kr$|jdd<00>}nd|krE|jdd<00>}nd|krf|jdd<00>}n|j|d<00>SWn!ttfk
r<>t|<00>nXdS(Nt&s&amp;R<>s&lt;R<>s&gt;R<>(treplaceR<65>R<>R<>R<>(RR{((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>%s   cCs<>y<>d|kr$|jdd<00>}nd|krE|jdd<00>}nd|krf|jdd<00>}nd|kr<>|jdd<00>}nd |kr<>|jd d
<00>}n|j|d <00>SWn!ttfk
r<>t|<00>nXdS( NR<4E>s&amp;R<>s&lt;R<>s&gt;s"s&quot;s
s&#10;R<>(R<>R<>R<>R<>R<>(RR{((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>5s     cCs<>ywd|kr$|jdd<00>}nd|krE|jdd<00>}nd|krf|jdd<00>}n|j|d<00>SWn!ttfk
r<>t|<00>nXdS(NR<4E>s&amp;R<>s&gt;s"s&quot;R<>(R<>R<>R<>R<>R<>(RR{((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>Fs   cCsWddd<00><00>Y}g}|<00>}|j|_t|<00>j||d|<00>dj|<00>S(NtdummycBseZRS((R%R&(((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>asR~R((RARsRtjoin(RR{R~R<>RoRb((s(C:\Python27\lib\xml\etree\ElementTree.pyR`s   cCsNddd<00><00>Y}g}|<00>}|j|_t|<00>j||d|<00>|S(NR<4E>cBseZRS((R%R&(((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>vsR~((RARsR(RR{R~R<>RoRb((s(C:\Python27\lib\xml\etree\ElementTree.pyRus   cCskt|t<00>st|<00>}n|jtj<00>|j<00>j}| sT|ddkrgtjjd<00>ndS(Ni<4E><69><EFBFBD><EFBFBD>s
(R(RRstsyststdoutRcR5(RR5((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s cCst<00>}|j||<00>|S(N(RR(RlRmttree((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s cCs[t}t|d<00>s-t|d<00>}t}n|sHtdt<00><00>}nt||||<00>S(NReRfRY(RgR)RhRiRRt_IterParseIterator(RlteventsRmRn((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s R<>cBs&eZed<00>Zd<00>Zd<00>ZRS(cCs<>||_||_g|_d|_d|_d|_|_||_|jj}|jj }|dkrvdg}nx|D]}|dkr<>y7d|_
d|_ |||jj d<00>}||_ Wq<57>tk
r<>|||jjd<00>}||_ q<>Xq}|dkr.|||jjd<00>}||_q}|dkrU||d <00>}||_q}|d
kr|||d <00>}||_q}td |<16><00>q}WdS( NitendtstarticSs|||||<00>f<00>dS(N((Rt attrib_inteventRAR<>((s(C:\Python27\lib\xml\etree\ElementTree.pythandler<65>scSs|||||<00>f<00>dS(N((RR<>R<>RAR<>((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>scSs||||<00>f<00>dS(N((RR<>RAR<>((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>ssstart-nscSsSy|p djd<00>}Wntk
r,nX|||p<d|pEdff<00>dS(NRtascii(R<>t UnicodeError(R<>R<>R<>RA((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s
 send-nscSs||df<00>dS(N(R(R<>R<>RA((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>ssunknown event %r(t_filet _close_filet_eventst_indexRt_errortrootRat_parserRAtordered_attributestspecified_attributest _start_listtStartElementHandlerR<72>t_startt_endtEndElementHandlertStartNamespaceDeclHandlertEndNamespaceDeclHandlerRw(RRlR<>RmRnRAR<>R<>((s(C:\Python27\lib\xml\etree\ElementTree.pyR/<00>sD                      cCsxy'|j|j}|jd7_|SWntk
r=nX|jrb|j}d|_|<00>n|jdkr<>|j|_|jr<>|j j
<00>nt <00>n|j2d|_|j j d<00>}|r<>y|jj |<00>Wqtk
r<>}||_qXq|jj
<00>|_d|_qdS(Niii@(R<>R<>t
IndexErrorR<72>RR<>RaR<>R<>R<>Rkt StopIterationReRjt SyntaxError(RtitemRQRotexc((s(C:\Python27\lib\xml\etree\ElementTree.pytnext<78>s4         cCs|S(N((R((s(C:\Python27\lib\xml\etree\ElementTree.pyt__iter__s(R%R&RgR/R<>R<>(((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s / cCs2|stdt<00><00>}n|j|<00>|j<00>S(NRY(RRRjRk(RRm((s(C:\Python27\lib\xml\etree\ElementTree.pyRs cCs}|stdt<00><00>}n|j|<00>|j<00>}i}x6|j<00>D](}|jd<00>}|rG|||<qGqGW||fS(NRYR1(RRRjRkR!RJ(RRmR<>tidsRR1((s(C:\Python27\lib\xml\etree\ElementTree.pytXMLID!s  cCsC|stdt<00><00>}nx|D]}|j|<00>q"W|j<00>S(NRY(RRRjRk(tsequenceRmR((s(C:\Python27\lib\xml\etree\ElementTree.pyRAs
 cBsAeZdd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>ZRS(cCsFg|_g|_d|_d|_|dkr9t}n||_dS(N(t_datat_elemRt_lastt_tailRt_factory(Rtelement_factory((s(C:\Python27\lib\xml\etree\ElementTree.pyR/Ws      cCsCt|j<00>dks!td<00><00>|jdk s<td<00><00>|jS(Nismissing end tagssmissing toplevel element(R6R<>tAssertionErrorR<72>R(R((s(C:\Python27\lib\xml\etree\ElementTree.pyRkgs!cCs<>|jr<>|jdk r<>dj|j<00>}|jr`|jjdksQtd<00><00>||j_q<>|jjdks~td<00><00>||j_ng|_ndS(NRsinternal error (tail)sinternal error (text)(R<>R<>RR<>R<>R5R<>R(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyt_flushls  cCs|jj|<00>dS(N(R<>RA(RRo((s(C:\Python27\lib\xml\etree\ElementTree.pyRo~scCs`|j<00>|j||<00>|_}|jrC|jdj|<00>n|jj|<00>d|_|S(Ni<4E><69><EFBFBD><EFBFBD>i(R<>R<>R<>R<>RAR<>(RRtattrsR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s
  cCsZ|j<00>|jj<00>|_|jj|ksJtd|jj|f<16><00>d|_|jS(Ns&end tag mismatch (expected %s, got %s)i(R<>R<>tpopR<70>RR<>R<>(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s
 N( R%R&RR/RkR<>RoR<>R<>(((s(C:\Python27\lib\xml\etree\ElementTree.pyRUs     cBs<>eZdddd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Z d<00>Z
d <00>Z d
<00>Z d <00>Z d <00>ZeZd <00>Zd<00>ZRS(icCs<>yddlm}WnAtk
rWyddl}WqXtk
rStd<00><00>qXXnX|j|d<00>}|dkr<>t<00>}n||_|_||_ |_
|j |_ i|_ |j|_|j|_|j|_|j|_|j|_|j|_yd|j_Wntk
r"nXy(d|j_d|j_|j|_Wntk
r^nXd|_i|_ yd|j!|_"Wntk
r<>nXdS(Ni<4E><69><EFBFBD><EFBFBD>(texpats7No module named expat; use SimpleXMLTreeBuilder insteadR<64>isExpat %d.%d.%d(#t xml.parsersR<73>t ImportErrortpyexpatt ParserCreateRRRmR<>RYt_targetterrorR<72>t_namest_defaulttDefaultHandlerExpandR<64>R<>R<>R<>R<>tCharacterDataHandlert_commenttCommentHandlert_pitProcessingInstructionHandlert buffer_textR<74>R<>R<>R<>t_doctypetentityt version_infotversion(RR<>RYR{R<>Rm((s(C:\Python27\lib\xml\etree\ElementTree.pyR/<00>sJ                   cCs7t|<00>}|j|_|j|jf|_|<00>dS(N(R tcodetlinenotoffsettposition(RRLterr((s(C:\Python27\lib\xml\etree\ElementTree.pyt _raiseerror<6F>s  cCs*y|jd<00>SWntk
r%|SXdS(NR<4E>(R<>R<>(RR((s(C:\Python27\lib\xml\etree\ElementTree.pyt_fixtext<78>s cCsby|j|}WnJtk
r]|}d|kr@d|}n|j|<00>|j|<}nX|S(NR<4E>R<>(R<>tKeyErrorR (RRKtname((s(C:\Python27\lib\xml\etree\ElementTree.pyt_fixname<6D>s   cCsj|j}|j}||<00>}i}x0|j<00>D]"\}}||<00>|||<00><q1W|jj||<00>S(N(R R RORYR<>(RRR<>tfixnametfixtextR,RKRL((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s   cCs<>|j}|j}||<00>}i}|rrxEtdt|<00>d<00>D](}|||d<19>||||<19><qCWn|jj||<00>S(Niii(R R trangeR6RYR<>(RRR<>R RR,ti((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79><00>s   )cCs|jj|j|<00><00>S(N(RYRoR (RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79> scCs|jj|j|<00><00>S(N(RYR<>R (RR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79> scCs;y|jj}Wntk
r#nX||j|<00><00>SdS(N(RYtcommentR<74>R (RRoR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>s
 cCsGy|jj}Wntk
r#n X||j|<00>|j|<00><00>SdS(N(RYtpiR<69>R (RRYRoR((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>s
 c
Cs]|d }|dkr<>y"|jj|j|dd!<19>WqYtk
r<>ddlm}|jd||jj|jj f<16>}d|_
|jj|_ |jj |_ |<00>qYXn<58>|dkr<>|d d kr<>g|_ n}|j dk rY|d
krd|_ dS|j<00>}|sdS|j j|<00>t|j <00>}|d krY|j d}|d kr<>|d kr<>|j \}}}} n7|dkr<>|dkr<>|j \}}} d}ndS|r<>|dd!}nt|jd<00>r|jj||| dd!<21>nI|j|jk rJ|j||| dd!<21>|j||| dd!<21>nd|_ qYndS(NiR<>i<><69><EFBFBD><EFBFBD>(R<>s'undefined entity %s: line %d, column %di R<>i s <!DOCTYPER<45>itPUBLICitSYSTEMitdoctype(RYRoRR
R<>R<>R<>R<>tErrorLineNumbertErrorColumnNumberRRRR<>RtstripRAR6R)Rt_XMLParser__doctype(
RRR<>R<>RtnR<6E>R tpubidtsystem((s(C:\Python27\lib\xml\etree\ElementTree.pyR<79>sR
 "            cCstjdt<00>dS(s'This method of XMLParser is deprecated.s[This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.N(R9R:RF(RR RR((s(C:\Python27\lib\xml\etree\ElementTree.pyRVscCsAy|jj|d<00>Wn#|jk
r<}|j|<00>nXdS(Ni(R<>tParseR<65>R(RRoR<>((s(C:\Python27\lib\xml\etree\ElementTree.pyRjfscCs\y|jjdd<00>Wn#|jk
r<}|j|<00>nX|jj<00>}|`|`|S(NRi(R<>RR<>RRYRk(RR<>R<>((s(C:\Python27\lib\xml\etree\ElementTree.pyRkrs N(R%R&RR/RR R R<>R<>R<>R<>R<>R<>R<>RRRjRk(((s(C:\Python27\lib\xml\etree\ElementTree.pyR<00>s-  
    7  (t_serialize_c14nRu(5t__all__RR<>R<>R9tobjectRRR'R<>R<>R RRt_Elementt_ElementInterfaceR RRR R
R RRyR<>R<>RMt NameErrorR<72>RxRvR<>R<>R<>R<>R<>R<>R<>RRRRRR<>RR<>RRRRRt ElementC14NR(((s(C:\Python27\lib\xml\etree\ElementTree.pyt<module>;s<>       <16>U
    <16> D /  2 
 
        \   Z<16>