Viewing File: /opt/alt/python38/lib64/python3.8/xml/dom/__pycache__/minicompat.cpython-38.opt-2.pyc

U

,a'
@sFddddgZddlZefZGdddeZGdddeZddZ	dS)	NodeList
EmptyNodeListStringTypesdefpropertyNc@s>eZdZdZddZddZddZeeedd	Zd
dZ	dS)
rcCs(d|krt|kr$nn||SdSNrlenselfindexrr7/opt/alt/python38/lib64/python3.8/xml/dom/minicompat.pyitem5sz
NodeList.itemcCst|SNrrrrr
_get_length9szNodeList._get_lengthcCstjddSNz.attempt to modify read-only attribute 'length'xmldomNoModificationAllowedErrrvaluerrr
_set_length<szNodeList._set_length$The number of nodes in the NodeList.doccCs|dkrg}||dd<dSrr)rstaterrr
__setstate__DszNodeList.__setstate__N)
__name__
__module____qualname__	__slots__rrrpropertylengthrrrrr
r2sc@sFeZdZdZddZddZddZdd	Zd
dZe	eedd
Z
dS)rrcCst}|||SrrextendrotherNLrrr
__add__Ms
zEmptyNodeList.__add__cCst}|||Srr%r'rrr
__radd__Rs
zEmptyNodeList.__radd__cCsdSrrr
rrr
rWszEmptyNodeList.itemcCsdSrrrrrr
rZszEmptyNodeList._get_lengthcCstjddSrrrrrr
r]szEmptyNodeList._set_lengthrrN)rr r!r"r*r+rrrr#r$rrrr
rJscCs8t|d|}|fdd}t|||d}t|||dS)NZ_get_cSstjdt|dS)Nz&attempt to modify read-only attribute )rrrrepr)rrnamerrr
setgs
zdefproperty.<locals>.setr)getattrr#setattr)klassr-rgetr.Zproprrr
res)
__all__Zxml.domrstrrlistrtuplerrrrrr
<module>+s

Back to Directory File Manager