
    d'                     ^    d Z g dZddlZefZ G d de          Z G d de          Z	d Z
dS )	zPython 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                   F    e Zd ZdZd Zd Zd Z eeed          Zd Z	dS )	r    c                 R    d|cxk    rt          |           k     rn d S | |         S d S Nr   lenselfindexs     $  /croot/python-split_1694437901252/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.11/xml/dom/minicompat.pyitemzNodeList.item5   s?    !!!!D		!!!!!!; "!    c                      t          |           S Nr   r   s    r   _get_lengthzNodeList._get_length9   s    4yyr   c                 @    t           j                            d          Nz.attempt to modify read-only attribute 'length'xmldomNoModificationAllowedErrr   values     r   _set_lengthzNodeList._set_length<       g..<> > 	>r   $The number of nodes in the NodeList.docc                     |g }|| d d <   d S r   r   )r   states     r   __setstate__zNodeList.__setstate__D   s    =EQQQr   N)
__name__
__module____qualname__	__slots__r   r   r   propertylengthr&   r   r   r   r   r   2   sw        I    > > > Xk;@B B BF    r   r   c                   L    e Zd ZdZd Zd Zd Zd Zd Z e	eed          Z
d	S )
r   r   c                 L    t                      }|                    |           |S r   r   extendr   otherNLs      r   __add__zEmptyNodeList.__add__M   "    ZZ
		%	r   c                 L    t                      }|                    |           |S r   r/   r1   s      r   __radd__zEmptyNodeList.__radd__R   r5   r   c                     d S r   r   r   s     r   r   zEmptyNodeList.itemW   s    tr   c                     dS r
   r   r   s    r   r   zEmptyNodeList._get_lengthZ   s    qr   c                 @    t           j                            d          r   r   r   s     r   r   zEmptyNodeList._set_length]   r    r   r!   r"   N)r'   r(   r)   r*   r4   r7   r   r   r   r+   r,   r   r   r   r   r   J   s        I  
  
    > > > Xk;@B B BFFFr   r   c                     t          | d|z             }|fd}t          | d|z             rJ d|z               t          |||          }t          | ||           d S )N_get_c                 `    t           j                            dt          |          z             )Nz&attempt to modify read-only attribute )r   r   r   repr)r   r   names      r   setzdefproperty.<locals>.setg   s-    g..4tDzzAC C 	Cr   _set_zexpected not to find _set_r"   )getattrhasattrr+   setattr)klassr?   r#   getr@   props         r   r   r   e   s    
%'D.
*
*C" C C C C ugn-- / /'$./ / /C#&&&DE4r   )__doc____all__xml.domr   strr   listr   tupler   r   r   r   r   <module>rN      s    T F
E
E f    t   0B B B B BE B B B6    r   