3 \%@s6dZdgZddlmZddlmZGdddeZdS)z,Class representing message/* MIME documents. MIMEMessage)message)MIMENonMultipartc@s eZdZdZdddddZdS)rz,Class representing message/* MIME documents.rfc822N)policycCsBtj|d||dt|tjs&tdtjj|||jddS)aCreate 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)rz&Argument is not an instance of Messagezmessage/rfc822N)r__init__ isinstancerZMessage TypeErrorZattachZset_default_type)selfZ_msgZ_subtyperr */usr/lib64/python3.6/email/mime/message.pyrs  zMIMEMessage.__init__)r)__name__ __module__ __qualname____doc__rr r r r rsN)r__all__ZemailrZemail.mime.nonmultipartrrr r r r s