\d' ^dZgdZddlZefZGddeZGddeZ dZ dS) zPython version compatibility support for minidom. This module contains internal implementation details and should not be imported; use xml.dom.minidom instead. )NodeList EmptyNodeList StringTypes defpropertyNcFeZdZdZdZdZdZeeedZdZ dS) rcRd|cxkrt|kr ndS||SdSNrlenselfindexs #..\python\lib\xml\dom\minicompat.pyitemz NodeList.item5s?  ! ! ! !D ! ! ! ! ! !;  " !c t|SNr rs r _get_lengthzNodeList._get_length9s4yyrc@tjdNz.attempt to modify read-only attribute 'length'xmldomNoModificationAllowedErrrvalues r _set_lengthzNodeList._set_length<g.. <>> >r$The number of nodes in the NodeList.docc|g}||dd<dSrr)rstates r __setstate__zNodeList.__setstate__Ds =EQQQrN) __name__ __module__ __qualname__ __slots__rrrpropertylengthr&rrrrr2swI>>>Xk;@BBBFrrcLeZdZdZdZdZdZdZdZe eedZ d S) rrcLt}|||SrrextendrotherNLs r__add__zEmptyNodeList.__add__M" ZZ % rcLt}|||Srr/r1s r__radd__zEmptyNodeList.__radd__Rr5rcdSrrr s rrzEmptyNodeList.itemWstrcdSr rrs rrzEmptyNodeList._get_lengthZsqrc@tjdrrrs rrzEmptyNodeList._set_length]r rr!r"N) r'r(r)r*r4r7rrrr+r,rrrrrJsI  >>>Xk;@BBBFFFrrct|d|z}|fd}t|d|zr Jd|zt|||}t|||dS)N_get_c`tjdt|z)Nz&attempt to modify read-only attribute )rrrrepr)rrnames rsetzdefproperty..setgs-g.. 4tDzz ACC Cr_set_zexpected not to find _set_r")getattrhasattrr+setattr)klassr?r#getr@props rrres %'D. * *C"CCCCugn--// '$ ./// C# & & &D E4r) __doc____all__xml.domrstrrlistrtuplerrrrrrNsT F E Ef t0BBBBBEBBB6r