ó GŸÂ=c@s³dZddddddgZddlZyeWn ek rTed ƒfZnXed ƒeed ƒƒfZyeWn0ek r­d Zd Z ej d d gƒnXye d eƒWn-e k rîe Z d„Z ejdƒnXeegƒkr0defd„ƒYZdefd„ƒYZnd„Zd„ZyeWn@ek rŒd„Zddd„ƒYZddd„ƒYZn#Xd„Zddd„ƒYZeZdS(s1Python version compatibility support for minidom.tNodeListt EmptyNodeListtNewStylet StringTypest defpropertyt GetattrMagiciÿÿÿÿNtiitTruetFalsecCsNyt||ƒSWn6tk rIx!|D]}t||ƒr(dSq(WdSXdS(Nii(t _isinstancet TypeError(tobjt type_or_seqtt((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt isinstancePs  RcBsPeZdZd„Zd„Zd„ZeeeddƒZd„Zd„Z RS(cCs.d|kot|ƒknr*||SdS(Ni(tlen(tselftindex((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pytitem_s"cCs t|ƒS(N(R(R((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt _get_lengthcscCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(txmltdomtNoModificationAllowedErr(Rtvalue((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt _set_lengthfs tdocs$The number of nodes in the NodeList.cCs t|ƒS(N(tlist(R((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt __getstate__mscCs ||(dS(N((Rtstate((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt __setstate__ps(( t__name__t __module__t __slots__RRRtpropertytlengthRR(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR\s      cBsPeZdZd„Zd„Zd„Zd„Zd„ZeeeddƒZ RS(cCstƒ}|j|ƒ|S(N(Rtextend(RtothertNL((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt__add__vs  cCstƒ}|j|ƒ|S(N(RR#(RR$R%((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt__radd__{s  cCsdS(N(tNone(RR((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR€scCsdS(Ni((R((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyRƒscCstjjdƒ‚dS(Ns.attempt to modify read-only attribute 'length'(RRR(RR((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR†s Rs$The number of nodes in the NodeList.(( RRR R&R'RRRR!R"(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyRss      cCsgS(N((((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyRŽscCsgS(N((((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR‘scCsdS(N((tklasstnameR((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR˜scBseZd„ZRS(cCsV|jdƒrt|‚nyt|d|ƒ}Wntk rNt|‚nX|ƒS(Nt_t_get_(t startswithtAttributeErrortgetattr(Rtkeytget((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyt __getattr__s   (RRR2(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyRœscBseZRS((RR(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR§scCsot|d|ƒj}|d„}t|d|ƒ sFtd|ƒ‚t||d|ƒ}t|||ƒdS(NR,cSs tjjdt|ƒƒ‚dS(Ns&attempt to modify read-only attribute (RRRtrepr(RRR*((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pytset­s t_set_sexpected not to find _set_R(R/tim_functhasattrtAssertionErrorR!tsetattr(R)R*RR1R4tprop((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyR«s   cBseZRS((RR(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pyRµs((((t__doc__t__all__txml.domRtunicodet NameErrorttypeRRRR#RR R tappendRRttupleRR!RRRtobject(((sD/opt/freeware/lib/python2.7/site-packages/_xmlplus/dom/minicompat.pytsD1