관리-도구
편집 파일: text.cpython-311.pyc
� c��f� � �D � d Z dgZddlmZ ddlmZ G d� de� � ZdS )z.Class representing text/* type MIME documents.�MIMEText� )�Charset)�MIMENonMultipartc � � e Zd ZdZddd�d�ZdS )r z0Class for generating text/* type MIME documents.�plainN)�policyc �� � |�+ |� d� � d}n# t $ r d}Y nw xY wt j | d|fd|idt |� � 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�textr �charset)�encode�UnicodeEncodeErrorr �__init__�str�set_payload)�self�_text�_subtype�_charsetr s �6/opt/alt/python311/lib64/python3.11/email/mime/text.pyr zMIMEText.__init__ s� � � �� #����Z�(�(�(�%����%� #� #� #�"���� #���� �!�$��� @� @�� @�%.��H� � �$>� @� @� @� �����)�)�)�)�)s � �+�+)r N)�__name__� __module__�__qualname__�__doc__r � � r r r s: � � � � � �:�:�*�� *� *� *� *� *� *� *r N)r �__all__� email.charsetr �email.mime.nonmultipartr r r r r �<module>r sm �� 5� 4��,�� !� !� !� !� !� !� 4� 4� 4� 4� 4� 4�*� *� *� *� *�� *� *� *� *� *r