관리-도구
편집 파일: text.cpython-37.opt-1.pyc
B �A�[ � @ sZ d Z ddlmZ ddlmZ ddlmZ dgZddlmZ ddlm Z G dd� de �Z d S ) z.Class representing text/* type MIME documents.� )�unicode_literals)�division)�absolute_import�MIMEText)�encode_7or8bit)�MIMENonMultipartc @ s e Zd ZdZddd�ZdS )r z0Class for generating text/* type MIME documents.�plainNc C sZ |dkr4y|� d� d}W n tk r2 d}Y nX tj| d|fd|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�text�charset)�encode�UnicodeEncodeErrorr �__init__Zset_payload)�selfZ_textZ_subtypeZ_charset� r �Q/opt/alt/python37/lib/python3.7/site-packages/future/backports/email/mime/text.pyr s zMIMEText.__init__)r N)�__name__� __module__�__qualname__�__doc__r r r r r r s N)r Z __future__r r r �__all__Zfuture.backports.email.encodersr Z(future.backports.email.mime.nonmultipartr r r r r r �<module> s