Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/email/mime/multipart.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s9dZdgZddlmZdefd��YZdS(s.Base class for MIME multipart/* type messages.t
MIMEMultiparti�(tMIMEBasecBs eZdZdddd�ZRS(s.Base class for MIME multipart/* type messages.tmixedcKs`tj|d||�g|_|rFx|D]}|j|�q,Wn|r\|j|�ndS(s�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).
        t	multipartN(Rt__init__t_payloadtattachtset_boundary(tselft_subtypetboundaryt	_subpartst_paramstp((s*/sys/lib/python2.7/email/mime/multipart.pyRs	
N(t__name__t
__module__t__doc__tNoneR(((s*/sys/lib/python2.7/email/mime/multipart.pyR
sN(Rt__all__temail.mime.baseRR(((s*/sys/lib/python2.7/email/mime/multipart.pyt<module>s	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.