�`^c@s�dZddddgZddlZyeWn ek
rNed�fZnXed�eed��fZdefd��YZ de
fd ��YZd
�ZdS(s1Python version compatibility support for minidom.tNodeListt
EmptyNodeListtStringTypestdefpropertyi�NtcBsPeZdZd�Zd�Zd�Zeeedd�Zd�Zd�Z RS(cCs.d|kot|�knr*||SdS(Ni(tlen(tselftindex((s(/sys/lib/python2.7/xml/dom/minicompat.pytitem6s"cCs
t|�S(N(R(R((s(/sys/lib/python2.7/xml/dom/minicompat.pyt_get_length:scCstjjd��dS(Ns.attempt to modify read-only attribute 'length'(txmltdomtNoModificationAllowedErr(Rtvalue((s(/sys/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(/sys/lib/python2.7/xml/dom/minicompat.pyt__getstate__DscCs||(dS(N((Rtstate((s(/sys/lib/python2.7/xml/dom/minicompat.pyt__setstate__Gs((
t__name__t
__module__t __slots__RR RtpropertytlengthRR(((s(/sys/lib/python2.7/xml/dom/minicompat.pyR3s cBsPeZdZd�Zd�Zd�Zd�Zd�Zeeedd�Z RS(cCst�}|j|�|S(N(Rtextend(RtothertNL((s(/sys/lib/python2.7/xml/dom/minicompat.pyt__add__Ns
cCst�}|j|�|S(N(RR(RRR((s(/sys/lib/python2.7/xml/dom/minicompat.pyt__radd__Ss
cCsdS(N(tNone(RR((s(/sys/lib/python2.7/xml/dom/minicompat.pyRXscCsdS(Ni((R((s(/sys/lib/python2.7/xml/dom/minicompat.pyR [scCstjjd��dS(Ns.attempt to modify read-only attribute 'length'(R
RR(RR
((s(/sys/lib/python2.7/xml/dom/minicompat.pyR^s Rs$The number of nodes in the NodeList.((
RRRRRRR RRR(((s(/sys/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
RRtrepr(RR
tname((s(/sys/lib/python2.7/xml/dom/minicompat.pytseths R(tgetattrtim_funcRtsetattr(tklassR!RtgetR"tprop((s(/sys/lib/python2.7/xml/dom/minicompat.pyRfs(
t__doc__t__all__txml.domR
tunicodet NameErrorttypeRRRttupleRR(((s(/sys/lib/python2.7/xml/dom/minicompat.pyt<module>s&
|