Your IP : 18.117.105.184
�
�Q�fr � �0 � d Z dgZddlmZ G d� de� Zy)z.Class representing text/* type MIME documents.�MIMEText� )�MIMENonMultipartc � � e Zd ZdZddd�d�Zy)r z0Class for generating text/* type MIME documents.N)�policyc � � |� |j d� d}t j | d||t |� �� | j ||� y# t $ r d}Y �Cw xY w)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)r �charset)�encode�UnicodeEncodeErrorr �__init__�str�set_payload)�self�_text�_subtype�_charsetr s �6/opt/alt/python312/lib64/python3.12/email/mime/text.pyr zMIMEText.__init__ sg � � ��
#����Z�(�%�� �!�!�$����*-�h�-� 9�
�����)��
&�
#�"��
#�s �A
�
A�A)�plainN)�__name__�
__module__�__qualname__�__doc__r � � r r r s � �:�*�� *r N)r �__all__�email.mime.nonmultipartr r r r r �<module>r s! ��
5��,�� 4�*�� *r