HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //lib/python3.10/xml/dom/__pycache__/minicompat.cpython-310.pyc
o

p̦i'
�@sFdZgd�ZddlZefZGdd�de�ZGdd�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>eZdZdZdd�Zdd�Zdd�Zeeedd	�Zd
d�Z	dS)
r�cCs(d|krt|�kr||SdSdS�Nr��len��self�indexrr�)/usr/lib/python3.10/xml/dom/minicompat.py�item5s
�z
NodeList.itemcCst|�S�Nr�rrrr
�_get_length9szNodeList._get_lengthcC�tj�d���Nz.attempt to modify read-only attribute 'length'��xml�dom�NoModificationAllowedErr�r�valuerrr
�_set_length<��zNodeList._set_length�$The number of nodes in the NodeList.��doccCs|durg}||dd�<dSrr)r�staterrr
�__setstate__DszNodeList.__setstate__N)
�__name__�
__module__�__qualname__�	__slots__rrr�property�lengthr rrrr
r2s�rc@sFeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Ze	eedd
�Z
dS)rrcC�t�}|�|�|Sr�r�extend�r�other�NLrrr
�__add__M�
zEmptyNodeList.__add__cCr'rr(r*rrr
�__radd__Rr.zEmptyNodeList.__radd__cCsdSrrr
rrr
rW�zEmptyNodeList.itemcCsdSrrrrrr
rZr0zEmptyNodeList._get_lengthcCrrrrrrr
r]rzEmptyNodeList._set_lengthrrN)r!r"r#r$r-r/rrrr%r&rrrr
rJs
�rcCsRt|d|�}|fdd�}t|d|�rJd|��t|||d�}t|||�dS)N�_get_cSstj�dt|���)Nz&attempt to modify read-only attribute )rrr�repr)rr�namerrr
�setgs
�zdefproperty.<locals>.set�_set_zexpected not to find _set_r)�getattr�hasattrr%�setattr)�klassr3r�getr4�proprrr
res�r)�__doc__�__all__�xml.domr�strr�listr�tuplerrrrrr
�<module>s*