3 \��@s4dZdgZddlZddlmZGdd�dej�ZdS)z$Base class for MIME specializations.�MIMEBase�N)�messagec@seZdZdZdd�dd�ZdS)rz$Base class for MIME specializations.N)�policycKsH|dkrtjj}tjj||d�d||f}|jd|f|�d|d<dS)z�This 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)rz%s/%sz Content-Typez1.0z MIME-Version)�emailrZcompat32r�Message�__init__Z add_header)�selfZ _maintypeZ_subtyperZ_paramsZctype�r �'/usr/lib64/python3.6/email/mime/base.pyrs  zMIMEBase.__init__)�__name__� __module__� __qualname__�__doc__rr r r r rs)r�__all__Z email.policyrrrrr r r r �s