관리-도구
편집 파일: text.cpython-34.pyc
� e fW � @ s9 d Z d g Z d d l m Z Gd d � d e � Z d S)z.Class representing text/* type MIME documents.�MIMEText� )�MIMENonMultipartc @ s( e Z d Z d Z d d d d � Z d S)r z0Class for generating text/* type MIME documents.ZplainNc C sr | d k rA y | j d � d } WqA t k r= d } YqA Xn t j | d | i | d 6� | j | | � d S)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 �4/opt/alt/python34/lib64/python3.4/email/mime/text.pyr s zMIMEText.__init__)�__name__� __module__�__qualname__�__doc__r r r r r r s N)r �__all__Zemail.mime.nonmultipartr r r r r r �<module> s