OwlCyberSecurity - MANAGER
Edit File: minicompat.cpython-38.pyc
U ����e5d' ����������������������@���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�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����*/usr/lib64/python3.8/xml/dom/minicompat.py�item5���s����z NodeList.itemc�����������������C���s���t�|��S��Nr����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_length�$The number of nodes in the NodeList.��docc�����������������C���s���|d�krg�}||�d�d��<�d�S�r���r���)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�r����r����extend�r����other�NLr���r���r ����__add__M���s���� zEmptyNodeList.__add__c�����������������C���s���t���}|�|��|S�r���r%���r'���r���r���r ����__radd__R���s���� zEmptyNodeList.__radd__c�����������������C���s���d�S�r���r���r ���r���r���r ���r���W���s����zEmptyNodeList.itemc�����������������C���s���dS�r���r���r���r���r���r ���r���Z���s����zEmptyNodeList._get_lengthc�����������������C���s���t�j�d��d�S�r���r���r���r���r���r ���r���]���s�����zEmptyNodeList._set_lengthr���r���N)r���r ���r!���r"���r*���r+���r���r���r���r#���r$���r���r���r���r ���r���J���s����c�����������������C���sR���t�|�d|��}|fdd�}t|�d|��r4td|���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>.setZ_set_zexpected not to find _set_r���)�getattr�hasattr�AssertionErrorr#����setattr)�klassr-���r����getr.���Zpropr���r���r ���r���e���s�����)�__doc__�__all__Zxml.domr����strr����listr����tupler���r���r���r���r���r ����<module>���s���*