f' PdZgdZddlZefZGddeZGddeZ dZ y) 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 defpropertyNc>eZdZdZdZdZdZeeedZdZ y) rc:d|cxkrt|kr||SyyNrlenselfindexs )/usr/lib/python3.12/xml/dom/minicompat.pyitemz NodeList.item5s"  !D !;  "ct|SNr rs r _get_lengthzNodeList._get_length9s 4yrc@tjjdNz.attempt to modify read-only attribute 'length'xmldomNoModificationAllowedErrrvalues r _set_lengthzNodeList._set_length<gg.. <> >r$The number of nodes in the NodeList.docc|g}||ddyrr)rstates r __setstate__zNodeList.__setstate__Ds =EQrN) __name__ __module__ __qualname__ __slots__rrrpropertylengthr&rrrrr2s/I>k;@BFrrcDeZdZdZdZdZdZdZdZe eedZ y ) rrc<t}|j||SrrextendrotherNLs r__add__zEmptyNodeList.__add__M Z % rc<t}|j||Srr/r1s r__radd__zEmptyNodeList.__radd__Rr5rcyrrr s rrzEmptyNodeList.itemWsrcyr rrs rrzEmptyNodeList._get_lengthZsrc@tjjdrrrs rrzEmptyNodeList._set_length]r rr!r"N) r'r(r)r*r4r7rrrr+r,rrrrrJs4I  >k;@BFrrct|d|z}|fd}t|d|zr Jd|zt|||}t|||y)N_get_cXtjjdt|z)Nz&attempt to modify read-only attribute )rrrrepr)rrnames rsetzdefproperty..setgs'gg.. 4tDz AC Cr_set_zexpected not to find _set_r")getattrhasattrr+setattr)klassr?r#getr@props rrresZ %'D. *C"Cugn-/ '$ ./ - C# &D E4r) __doc____all__xml.domrstrrlistrtuplerrrrrrNs<T Ff t0BEB6r