B /g^c@s6dZdgZddlmZddlmZGdddeZdS)z.Class representing text/* type MIME documents.MIMETexti)Charset)MIMENonMultipartc@s eZdZdZdddddZdS)rz0Class for generating text/* type MIME documents.plainN)policycCsf|dkr4y|dd}Wntk r2d}YnXtj|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-8ZtextrZcharset)ZencodeZUnicodeEncodeErrorr__init__ZstrZ set_payload)ZselfZ_textZ_subtypeZ_charsetrr'/usr/lib64/python3.7/email/mime/text.pyrs  zMIMEText.__init__)rN)Z__name__Z __module__Z __qualname____doc__rrrrrrsN)rZ__all__Z email.charsetrZemail.mime.nonmultipartrrrrrrZs