HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //proc/276314/root/usr/lib/python3.9/email/mime/__pycache__/text.cpython-39.pyc
a

kx�g��@s6dZdgZddlmZddlmZGdd�de�ZdS)z.Class representing text/* type MIME documents.�MIMEText�)�Charset)�MIMENonMultipartc@s eZdZdZddd�dd�ZdS)rz0Class for generating text/* type MIME documents.�plainN)�policycCsd|dur2z|�d�d}Wnty0d}Yn0tj|d|fd|idt|�i��|�||�dS)a~Create a text/* type MIME document.

        _text is the string for this message object.

        _subtype is the MIME sub content type, defaulting to "plain".

        _charset is the character set parameter added to the Content-Type
        header.  This defaults to "us-ascii".  Note that as a side-effect, the
        Content-Transfer-Encoding header will also be set.
        Nzus-asciizutf-8�textr�charset)�encode�UnicodeEncodeErrorr�__init__�strZset_payload)�selfZ_textZ_subtypeZ_charsetr�r�%/usr/lib/python3.9/email/mime/text.pyrs


�zMIMEText.__init__)rN)�__name__�
__module__�__qualname__�__doc__rrrrrrsN)r�__all__Z
email.charsetrZemail.mime.nonmultipartrrrrrr�<module>s