Edit File: minicompat.cpython-37.opt-2.pyc
B ����0��c' ������������������@���sF���d�dddgZ�ddlZefZG�dd���d�e�ZG�dd��de�Zdd��Z dS�) �NodeList� EmptyNodeList�StringTypes�defproperty�����Nc���������������@���s>���e�Zd�ZdZdd��Zdd��Zdd��Zeeedd �Zd d��Z dS�) r�����c�������������C���s(���d|��krt�|��k�r$n�n|�|�S�d�S�)Nr���)�len)�self�indexr���r����7/opt/alt/python37/lib64/python3.7/xml/dom/minicompat.py�item5���s����z NodeList.itemc�������������C���s���t�|��S�)N)r���)r���r���r���r ����_get_length9���s����zNodeList._get_lengthc�������������C���s���t�j�d��d�S�)Nz.attempt to modify read-only attribute 'length')�xml�dom�NoModificationAllowedErr)r����valuer���r���r ����_set_length<���s����zNodeList._set_lengthz$The number of nodes in the NodeList.)�docc�������������C���s���|d�krg�}||�d�d��<�d�S�)Nr���)r����stater���r���r ����__setstate__D���s����zNodeList.__setstate__N) �__name__� __module__�__qualname__� __slots__r���r���r����property�lengthr���r���r���r���r ���r���2���s���c���������������@���sF���e�Zd�ZdZdd��Zdd��Zdd��Zdd ��Zd d��Ze eedd �Z dS�)r���r���c�������������C���s���t���}|�|��|S�)N)r����extend)r����other�NLr���r���r ����__add__M���s���� zEmptyNodeList.__add__c�������������C���s���t���}|�|��|S�)N)r���r���)r���r���r���r���r���r ����__radd__R���s���� zEmptyNodeList.__radd__c�������������C���s���d�S�)Nr���)r���r ���r���r���r ���r���W���s����zEmptyNodeList.itemc�������������C���s���dS�)Nr���r���)r���r���r���r ���r���Z���s����zEmptyNodeList._get_lengthc�������������C���s���t�j�d��d�S�)Nz.attempt to modify read-only attribute 'length')r ���r���r���)r���r���r���r���r ���r���]���s����zEmptyNodeList._set_lengthz$The number of nodes in the NodeList.)r���N)r���r���r���r���r���r���r���r���r���r���r���r���r���r���r ���r���J���s���c�������������C���s8���t�|�d|��}|fdd�}t|||d�}t|�||��d�S�)NZ_get_c�������������S���s���t�j�dt|����d�S�)Nz&attempt to modify read-only attribute )r ���r���r����repr)r���r����namer���r���r ����setg���s����zdefproperty.<locals>.set)r���)�getattrr����setattr)�klassr!���r����getr"���Zpropr���r���r ���r���e���s����) �__all__Zxml.domr ����strr����listr����tupler���r���r���r���r���r ����<module>+���s ���