Ë
    ŠÛe#  ã                   ó<   — d Z dgZddlmZ ddlmZ  G d„ de«      Zy)ú,Class representing message/* MIME documents.ÚMIMEMessageé    )Úmessage)ÚMIMENonMultipartc                   ó   — e Zd ZdZdddœd„Zy)r   r   N©Úpolicyc                óâ   — t        j                  | d||¬«       t        |t        j                  «      st        d«      ‚t        j                  j                  | |«       | j                  d«       y)aš  Create a message/* type MIME document.

        _msg is a message object and must be an instance of Message, or a
        derived class of Message, otherwise a TypeError is raised.

        Optional _subtype defines the subtype of the contained message.  The
        default is "rfc822" (this is defined by the MIME standard, even though
        the term "rfc822" is technically outdated by RFC 2822).
        r   r   z&Argument is not an instance of Messagezmessage/rfc822N)r   Ú__init__Ú
isinstancer   ÚMessageÚ	TypeErrorÚattachÚset_default_type)ÚselfÚ_msgÚ_subtyper	   s       ú$lib/python3.12/email/mime/message.pyr   zMIMEMessage.__init__   sW   € ô 	×!Ñ! $¨	°8ÀFÕKÜ˜$¤§¡Ô0ÜÐDÓEÐEô 	‰×Ñ˜t TÔ*à×ÑÐ.Õ/ó    )Úrfc822)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r   r   r   r      s   „ Ù6ð0¸$õ 0r   N)r   Ú__all__Úemailr   Úemail.mime.nonmultipartr   r   r   r   r   ú<module>r      s$   ðñ
 3àˆ/€å Ý 4ô0Ð"õ 0r   