mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Docstring consistency with the updated .tex files.
This commit is contained in:
parent
419b284b7c
commit
fd2e8f7ea6
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ class MIMEMultipart(MIMEBase.MIMEBase):
|
|||
"""Creates a multipart/* type message.
|
||||
|
||||
By default, creates a multipart/mixed message, with proper
|
||||
Content-Type: and MIME-Version: headers.
|
||||
Content-Type and MIME-Version headers.
|
||||
|
||||
_subtype is the subtype of the multipart content type, defaulting to
|
||||
`mixed'.
|
||||
|
@ -23,11 +23,11 @@ class MIMEMultipart(MIMEBase.MIMEBase):
|
|||
boundary is the multipart boundary string. By default it is
|
||||
calculated as needed.
|
||||
|
||||
_subparts is a sequence of initial subparts for the multipart. It
|
||||
_subparts is a sequence of initial subparts for the payload. It
|
||||
must be possible to convert this sequence to 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
|
||||
Additional parameters for the Content-Type header are taken from the
|
||||
keyword arguments (or passed into the _params argument).
|
||||
"""
|
||||
MIMEBase.MIMEBase.__init__(self, 'multipart', _subtype, **_params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue