B `ܤ3³·Tã@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)ÚpolicycCsf|dkr4y| d¡d}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-8ÚtextrÚcharset)ÚencodeÚUnicodeEncodeErrorrÚ__init__ÚstrZ set_payload)ÚselfZ_textZ_subtypeZ_charsetr©rú4/opt/alt/python37/lib64/python3.7/email/mime/text.pyr s  zMIMEText.__init__)rN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rrrrrsN)rÚ__all__Z email.charsetrZemail.mime.nonmultipartrrrrrrÚs