a
    ze%                     @   s2   d gZ ddlmZ ddlmZ G dd  d eZdS )MIMEMessage    )message)MIMENonMultipartc                   @   s   e Zd ZdddddZdS )r   rfc822Npolicyc                C   sB   t j| d||d t|tjs&tdtj| | | d d S )Nr   r   z&Argument is not an instance of Messagezmessage/rfc822)r   __init__
isinstancer   ZMessage	TypeErrorZattachZset_default_type)selfZ_msgZ_subtyper    r   (/usr/lib/python3.9/email/mime/message.pyr      s
    
zMIMEMessage.__init__)r   )__name__
__module____qualname__r   r   r   r   r   r      s   N)__all__Zemailr   Zemail.mime.nonmultipartr   r   r   r   r   r   <module>   s   