OwlCyberSecurity - MANAGER
Edit File: minicompat.cpython-36.opt-1.pyc
3 � f' ������������������@���sJ���d�Z�ddddgZddlZefZG�dd��de�ZG�dd��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>���e�Zd�Zf�Zdd��Zdd��Zdd��Zeeedd�Zd d ��Z dS�)r���c�������������C���s(���d|��kot�|��k�n��r$|�|�S�d�S�)Nr���)�len)�self�index��r ����7/opt/alt/python36/lib64/python3.6/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�jjd��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�Zf�Zdd��Zdd��Zdd��Zdd��Zd d ��Ze eedd�Z d S�)r���c�������������C���s���t���}|j|��|S�)N)r����extend)r����other�NLr ���r ���r ����__add__M���s���� zEmptyNodeList.__add__c�������������C���s���t���}|j|��|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�jjd��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�jjdt|����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����)�__doc__�__all__Zxml.domr ����strr����listr����tupler���r���r ���r ���r ���r ����<module>���s���&