HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/core22/2133/usr/lib/python3.10/email/mime/__pycache__/multipart.cpython-310.pyc
o

E�hU�@s*dZdgZddlmZGdd�de�ZdS)�.Base class for MIME multipart/* type messages.�
MIMEMultipart�)�MIMEBasec@s eZdZdZddd�dd�ZdS)rr�mixedN)�policycKsNtj|d|fd|i|��g|_|r|D]}|�|�q|r%|�|�dSdS)a�Creates a multipart/* type message.

        By default, creates a multipart/mixed message, with proper
        Content-Type and MIME-Version headers.

        _subtype is the subtype of the multipart content type, defaulting to
        `mixed'.

        boundary is the multipart boundary string.  By default it is
        calculated as needed.

        _subparts is a sequence of initial subparts for the payload.  It
        must be an iterable object, such as a list.  You can always
        attach new subparts to the message by using the attach() method.

        Additional parameters for the Content-Type header are taken from the
        keyword arguments (or passed into the _params argument).
        �	multipartrN)r�__init__�_payload�attach�set_boundary)�self�_subtype�boundary�	_subpartsr�_params�p�r�+/usr/lib/python3.10/email/mime/multipart.pyrs�zMIMEMultipart.__init__)rNN)�__name__�
__module__�__qualname__�__doc__rrrrrr
s
�N)r�__all__�email.mime.baserrrrrr�<module>s