AlkantarClanX12

Your IP : 18.117.232.215


Current Path : /proc/thread-self/root/lib64/python3.8/xml/dom/__pycache__/
Upload File :
Current File : //proc/thread-self/root/lib64/python3.8/xml/dom/__pycache__/minicompat.cpython-38.pyc

U

e5d'
�@sJdZddddgZddlZefZGdd�de�ZGdd�de�Z	d	d�Z
dS)
z�Python version compatibility support for minidom.

This module contains internal implementation details and
should not be imported; use xml.dom.minidom instead.
�NodeList�
EmptyNodeList�StringTypes�defproperty�Nc@s>eZdZdZdd�Zdd�Zdd�Zeeedd	�Zd
d�Z	dS)
r�cCs(d|krt|�kr$nn||SdS�Nr��len��self�indexrr�*/usr/lib64/python3.8/xml/dom/minicompat.py�item5sz
NodeList.itemcCst|�S�Nr�rrrr
�_get_length9szNodeList._get_lengthcCstj�d��dS�Nz.attempt to modify read-only attribute 'length'��xml�dom�NoModificationAllowedErr�r�valuerrr
�_set_length<s�zNodeList._set_length�$The number of nodes in the NodeList.��doccCs|dkrg}||dd�<dSrr)r�staterrr
�__setstate__DszNodeList.__setstate__N)
�__name__�
__module__�__qualname__�	__slots__rrr�property�lengthrrrrr
r2s�c@sFeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Ze	eedd
�Z
dS)rrcCst�}|�|�|Sr�r�extend�r�other�NLrrr
�__add__Ms
zEmptyNodeList.__add__cCst�}|�|�|Srr%r'rrr
�__radd__Rs
zEmptyNodeList.__radd__cCsdSrrr
rrr
rWszEmptyNodeList.itemcCsdSrrrrrr
rZszEmptyNodeList._get_lengthcCstj�d��dSrrrrrr
r]s�zEmptyNodeList._set_lengthrrN)rr r!r"r*r+rrrr#r$rrrr
rJs�cCsRt|d|�}|fdd�}t|d|�r4td|��t|||d�}t|||�dS)NZ_get_cSstj�dt|���dS)Nz&attempt to modify read-only attribute )rrr�repr)rr�namerrr
�setgs
�zdefproperty.<locals>.setZ_set_zexpected not to find _set_r)�getattr�hasattr�AssertionErrorr#�setattr)�klassr-r�getr.Zproprrr
res�)�__doc__�__all__Zxml.domr�strr�listr�tuplerrrrrr
�<module>s*