ó r”þfc@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/lib64/python2.7/xml/dom/minicompat.pytitem6s"cCs t|ƒS(N(R(R((s*/usr/lib64/python2.7/xml/dom/minicompat.pyt _get_length:scCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(txmltdomtNoModificationAllowedErr(Rtvalue((s*/usr/lib64/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/lib64/python2.7/xml/dom/minicompat.pyt __getstate__DscCs ||(dS(N((Rtstate((s*/usr/lib64/python2.7/xml/dom/minicompat.pyt __setstate__Gs(( t__name__t __module__t __slots__RR RtpropertytlengthRR(((s*/usr/lib64/python2.7/xml/dom/minicompat.pyR3s      cBsPeZdZd„Zd„Zd„Zd„Zd„ZeeeddƒZ RS(cCstƒ}|j|ƒ|S(N(Rtextend(RtothertNL((s*/usr/lib64/python2.7/xml/dom/minicompat.pyt__add__Ns  cCstƒ}|j|ƒ|S(N(RR(RRR((s*/usr/lib64/python2.7/xml/dom/minicompat.pyt__radd__Ss  cCsdS(N(tNone(RR((s*/usr/lib64/python2.7/xml/dom/minicompat.pyRXscCsdS(Ni((R((s*/usr/lib64/python2.7/xml/dom/minicompat.pyR [scCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(R R R (RR ((s*/usr/lib64/python2.7/xml/dom/minicompat.pyR^s Rs$The number of nodes in the NodeList.(( RRRRRRR RRR(((s*/usr/lib64/python2.7/xml/dom/minicompat.pyRKs      cCsot|d|ƒj}|d„}t|d|ƒ sFtd|ƒ‚t||d|ƒ}t|||ƒdS(Nt_get_cSs tjjdt|ƒƒ‚dS(Ns&attempt to modify read-only attribute (R R R trepr(RR tname((s*/usr/lib64/python2.7/xml/dom/minicompat.pytseths t_set_sexpected not to find _set_R(tgetattrtim_functhasattrtAssertionErrorRtsetattr(tklassR!RtgetR"tprop((s*/usr/lib64/python2.7/xml/dom/minicompat.pyRfs   ( t__doc__t__all__txml.domR tunicodet NameErrorttypeRRRttupleRR(((s*/usr/lib64/python2.7/xml/dom/minicompat.pyts&