Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/xml/dom/minicompat.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@s�dZddddgZddlZyeWn ek
rNed�fZnXed�eed��fZdefd��YZ	de
fd	��YZd
�ZdS(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					cCsot|d|�j}|d�}t|d|�sFtd|��t||d|�}t|||�dS(Nt_get_cSs tjjdt|���dS(Ns&attempt to modify read-only attribute (R
RRtrepr(RR
tname((s(/sys/lib/python2.7/xml/dom/minicompat.pytseths	t_set_sexpected not to find _set_R(tgetattrtim_functhasattrtAssertionErrorRtsetattr(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&


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.