Viewing File: /opt/alt/python35/lib64/python3.5/email/mime/__pycache__/message.cpython-35.pyc



¨ÕYfã@sIdZdgZddlmZddlmZGdd„deƒZdS)z,Class representing message/* MIME documents.ÚMIMEMessageé)Úmessage)ÚMIMENonMultipartc@s%eZdZdZddd„ZdS)rz,Class representing message/* MIME documents.Zrfc822cCsUtj|d|ƒt|tjƒs1tdƒ‚tjj||ƒ|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/python35/lib64/python3.5/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
Ú<module>s	
Back to Directory File Manager