????

Your IP : 18.191.37.140


Current Path : /usr/lib/python3.6/site-packages/future/backports/email/mime/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/future/backports/email/mime/__pycache__/text.cpython-36.pyc

3

�c�@sZdZddlmZddlmZddlmZdgZddlmZddlm	Z	Gdd�de	�Z
d	S)
z.Class representing text/* type MIME documents.�)�unicode_literals)�division)�absolute_import�MIMEText)�encode_7or8bit)�MIMENonMultipartc@seZdZdZddd�ZdS)rz0Class for generating text/* type MIME documents.�plainNcCsZ|dkr4y|jd�d}Wntk
r2d}YnXtj|d|fd|i�|j||�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�/usr/lib/python3.6/text.pyr
s


zMIMEText.__init__)rN)�__name__�
__module__�__qualname__�__doc__r
rrrrrsN)rZ
__future__rrr�__all__Zfuture.backports.email.encodersrZ(future.backports.email.mime.nonmultipartrrrrrr�<module>s