관리-도구
편집 파일: message.cpython-311.opt-1.pyc
� c��f# � �D � d Z dgZddlmZ ddlmZ G d� de� � ZdS )�,Class representing message/* MIME documents.�MIMEMessage� )�message)�MIMENonMultipartc � � e Zd ZdZddd�d�ZdS )r r �rfc822N��policyc �� � t j | d||�� � t |t j � � st d� � �t j � | |� � | � d� � 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). r r z&Argument is not an instance of Messagezmessage/rfc822N)r �__init__� isinstancer �Message� TypeError�attach�set_default_type)�self�_msg�_subtyper s �9/opt/alt/python311/lib64/python3.11/email/mime/message.pyr zMIMEMessage.__init__ sw � � �!�$� �8�F�K�K�K�K��$���0�0� F��D�E�E�E� ����t�T�*�*�*����.�/�/�/�/�/� )r )�__name__� __module__�__qualname__�__doc__r � r r r r s: � � � � � �6�6�0�$� 0� 0� 0� 0� 0� 0� 0r N)r �__all__�emailr �email.mime.nonmultipartr r r r r �<module>r sm �� 3� 2��/�� � � � � � � 4� 4� 4� 4� 4� 4�0� 0� 0� 0� 0�"� 0� 0� 0� 0� 0r