o [d@s6dZdgZddlmZddlmZGdddeZdS)z.Class representing text/* type MIME documents.MIMEText)Charset)MIMENonMultipartc@s eZdZdZdddddZdS)rz0Class for generating text/* type MIME documents.plainN)policycCsd|durz |dd}Wn tyd}Ynwtj|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-8textrcharset)encodeUnicodeEncodeErrorr__init__str set_payload)self_text_subtype_charsetrr&/usr/lib/python3.10/email/mime/text.pyr s   zMIMEText.__init__)rN)__name__ __module__ __qualname____doc__r rrrrrsN)r__all__ email.charsetremail.mime.nonmultipartrrrrrrs