Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/future/backports/email/mime/__pycache__/ |
Upload File : |
o ,�] � @ sZ d Z ddlmZ ddlmZ ddlmZ dgZddlmZ ddlm Z G dd� de �Z d S ) z.Class representing text/* type MIME documents.� )�unicode_literals)�division)�absolute_import�MIMEText)�encode_7or8bit)�MIMENonMultipartc @ s e Zd ZdZddd�ZdS )r z0Class for generating text/* type MIME documents.�plainNc C s\ |du rz |� d� d}W n ty d}Y nw tj| d|fi d|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�text�charset)�encode�UnicodeEncodeErrorr �__init__�set_payload)�self�_text�_subtype�_charset� r �B/usr/lib/python3/dist-packages/future/backports/email/mime/text.pyr s ��zMIMEText.__init__)r N)�__name__� __module__�__qualname__�__doc__r r r r r r s N)r � __future__r r r �__all__�future.backports.email.encodersr �(future.backports.email.mime.nonmultipartr r r r r r �<module> s