관리-도구
편집 파일: image.cpython-312.opt-2.pyc
� �Q�f� � � � d gZ ddlmZ ddlmZ G d� d e� Zg Zd� Zd� Zed� � Z ed� � Z ed � � Zed � � Zed� � Z ed� � Zed � � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zy)� MIMEImage� )�encoders)�MIMENonMultipartc �4 � e Zd Z dej fdd�d�Zy)r N)�policyc � � |�t |� n|}|�t d� �t j | d|fd|i|�� | j |� || � y )Nz"Could not guess image MIME subtype�imager )�_what� TypeErrorr �__init__�set_payload)�self� _imagedata�_subtype�_encoderr �_paramss �7/opt/alt/python312/lib64/python3.12/email/mime/image.pyr zMIMEImage.__init__ sd � � �&