a XC?h' � @ sF d Z g d�ZddlZefZG dd� de�ZG dd� de�Z dd � 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 �7/opt/alt/python39/lib64/python3.9/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<