î e fã@sIdZdgZddlmZddlmZGdd„deƒZdS)z,Class representing message/* MIME documents.Ú MIMEMessageé)Úmessage)ÚMIMENonMultipartc@s%eZdZdZddd„ZdS)rz,Class representing message/* MIME documents.Zrfc822cCsXtj|d|ƒt|tjƒs4tdƒ‚ntjj||ƒ|jdƒdS)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). rz&Argument is not an instance of Messagezmessage/rfc822N)rÚ__init__Ú isinstancerZMessageÚ TypeErrorZattachZset_default_type)ÚselfZ_msgZ_subtype©r ú7/opt/alt/python34/lib64/python3.4/email/mime/message.pyrs zMIMEMessage.__init__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr r r r rs N)rÚ__all__ZemailrZemail.mime.nonmultipartrrr r r r Ús