AlkantarClanX12

Your IP : 18.190.160.6


Current Path : /opt/alt/python35/lib64/python3.5/email/mime/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/email/mime/__pycache__/text.cpython-35.pyc



��Yf~�@sIdZdgZddlmZddlmZGdd�de�ZdS)z.Class representing text/* type MIME documents.�MIMEText�)�Charset)�MIMENonMultipartc@s(eZdZdZdddd�ZdS)rz0Class for generating text/* type MIME documents.ZplainNcCst|dkr>y|jd�d}Wntk
r=d}YnXtj|d|dt|�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__�strZset_payload)�selfZ_textZ_subtypeZ_charset�r�4/opt/alt/python35/lib64/python3.5/email/mime/text.pyr	s


zMIMEText.__init__)�__name__�
__module__�__qualname__�__doc__r	rrrr
rsN)r�__all__Z
email.charsetrZemail.mime.nonmultipartrrrrrr
�<module>s