o
0i @ s6 d Z dgZddlmZ ddlmZ G dd deZdS )z.Class representing text/* type MIME documents.MIMEText )Charset)MIMENonMultipartc @ s e Zd ZdZdddddZdS )r z0Class for generating text/* type MIME documents.plainN)policyc C sd |du rz | d d}W n ty d}Y nw tj| 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-8textr charset)encodeUnicodeEncodeErrorr __init__strZset_payload)selfZ_textZ_subtypeZ_charsetr r 6/opt/alt/python310/lib64/python3.10/email/mime/text.pyr s
zMIMEText.__init__)r N)__name__
__module____qualname____doc__r r r r r r s N)r __all__Z
email.charsetr Zemail.mime.nonmultipartr r r r r r