a
    ze                     @   s2   d gZ ddlmZ ddlmZ G dd  d eZdS )MIMEText    )Charset)MIMENonMultipartc                   @   s   e Zd ZdddddZdS )r   plainN)policyc                C   sd   |d u r2z| d d}W n ty0   d}Y n0 tj| d|fd|idt|i | || d S )Nzus-asciizutf-8textr   charset)encodeUnicodeEncodeErrorr   __init__strZset_payload)selfZ_textZ_subtype_charsetr    r   %/usr/lib/python3.9/email/mime/text.pyr      s    


zMIMEText.__init__)r   N)__name__
__module____qualname__r   r   r   r   r   r      s   N)__all__Zemail.charsetr   Zemail.mime.nonmultipartr   r   r   r   r   r   <module>   s   