a
    If                     @   s4   d Z dgZddlZddlmZ G dd dejZdS )$Base class for MIME specializations.MIMEBase    N)messagec                   @   s   e Zd ZdZddddZdS )r   r   Npolicyc                K   sL   |du rt jj}tjj| |d d||f }| jd|fi | d| d< dS )zThis constructor adds a Content-Type: and a MIME-Version: header.

        The Content-Type: header is taken from the _maintype and _subtype
        arguments.  Additional parameters for this header are taken from the
        keyword arguments.
        Nr   z%s/%szContent-Typez1.0zMIME-Version)emailr   Zcompat32r   Message__init__Z
add_header)selfZ	_maintypeZ_subtyper   Z_paramsZctype r    lib/python3.9/email/mime/base.pyr	      s    zMIMEBase.__init__)__name__
__module____qualname____doc__r	   r   r   r   r   r      s   )r   __all__Zemail.policyr   r   r   r   r   r   r   r   <module>   s   