§ p¸—Ö߈€Óã óD — d Z dgZddlmZ ddlmZ G d„ de¦ « ZdS )z.Class representing text/* type MIME documents.ÚMIMETexté )ÚCharset)ÚMIMENonMultipartc ó — e Zd ZdZdddœd„ZdS )r z0Class for generating text/* type MIME documents.ÚplainN)Úpolicyc óÖ — |€+ | d¦ « d}n# t $ r d}Y nw xY wt j | 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__ÚstrÚset_payload)ÚselfÚ_textÚ_subtypeÚ_charsetr s ú