B
    0*\                 @   s4   d Z dgZddlZddlmZ G dd dejZdS )z$Base class for MIME specializations.MIMEBase    N)messagec               @   s   e Zd ZdZddddZdS )r   z$Base class for MIME specializations.N)policyc            K   sH   |dkrt jj}tjj| |d d||f }| jd|f| 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.
        N)r   z%s/%szContent-Typez1.0zMIME-Version)emailr   Zcompat32r   Message__init__Z
add_header)selfZ	_maintypeZ_subtyper   Z_paramsZctype r	   :C:\ALexclude\prg\programme\Python37\Lib\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   