ó û^‚Rc@s¦dZddddgZddlZyeWn ek rNedƒfZnXedƒeedƒƒfZdefd„ƒYZ de fd „ƒYZ d „Z dS( s1Python version compatibility support for minidom.tNodeListt EmptyNodeListt StringTypest defpropertyiÿÿÿÿNtcBsPeZdZd„Zd„Zd„ZeeeddƒZd„Zd„Z RS(cCs.d|kot|ƒknr*||SdS(Ni(tlen(tselftindex((s(/usr/lib/python2.7/xml/dom/minicompat.pytitem6s"cCs t|ƒS(N(R(R((s(/usr/lib/python2.7/xml/dom/minicompat.pyt _get_length:scCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(txmltdomtNoModificationAllowedErr(Rtvalue((s(/usr/lib/python2.7/xml/dom/minicompat.pyt _set_length=s tdocs$The number of nodes in the NodeList.cCs t|ƒS(N(tlist(R((s(/usr/lib/python2.7/xml/dom/minicompat.pyt __getstate__DscCs ||(dS(N((Rtstate((s(/usr/lib/python2.7/xml/dom/minicompat.pyt __setstate__Gs(( t__name__t __module__t __slots__RR RtpropertytlengthRR(((s(/usr/lib/python2.7/xml/dom/minicompat.pyR3s      cBsPeZdZd„Zd„Zd„Zd„Zd„ZeeeddƒZ RS(cCstƒ}|j|ƒ|S(N(Rtextend(RtothertNL((s(/usr/lib/python2.7/xml/dom/minicompat.pyt__add__Ns  cCstƒ}|j|ƒ|S(N(RR(RRR((s(/usr/lib/python2.7/xml/dom/minicompat.pyt__radd__Ss  cCsdS(N(tNone(RR((s(/usr/lib/python2.7/xml/dom/minicompat.pyRXscCsdS(Ni((R((s(/usr/lib/python2.7/xml/dom/minicompat.pyR [scCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(R R R (RR ((s(/usr/lib/python2.7/xml/dom/minicompat.pyR^s Rs$The number of nodes in the NodeList.(( RRRRRRR RRR(((s(/usr/lib/python2.7/xml/dom/minicompat.pyRKs      cCsKt|d|ƒj}|d„}t||d|ƒ}t|||ƒdS(Nt_get_cSs tjjdt|ƒƒ‚dS(Ns&attempt to modify read-only attribute (R R R trepr(RR tname((s(/usr/lib/python2.7/xml/dom/minicompat.pytseths R(tgetattrtim_funcRtsetattr(tklassR!RtgetR"tprop((s(/usr/lib/python2.7/xml/dom/minicompat.pyRfs ( t__doc__t__all__txml.domR tunicodet NameErrorttypeRRRttupleRR(((s(/usr/lib/python2.7/xml/dom/minicompat.pyts&