
\[\                 @   s<   d  Z  d g Z d d l m Z Gd d   d e j  Z d S)z$Base class for MIME specializations.MIMEBase    )messagec               @   s"   e  Z d  Z d Z d d   Z d S)r   z$Base class for MIME specializations.c             K   sA   t  j j |   d | | f } |  j d | |  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.
        z%s/%szContent-Typez1.0zMIME-VersionN)r   Message__init__Z
add_header)selfZ	_maintypeZ_subtypeZ_paramsZctype r   %/usr/lib/python3.4/email/mime/base.pyr      s    zMIMEBase.__init__N)__name__
__module____qualname____doc__r   r   r   r   r   r      s   N)r   __all__Zemailr   r   r   r   r   r   r   <module>   s   	