Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c071ce

Browse files
ZackerySpytzbitdancer
authored andcommitted
bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_manager (#7631)
The docs claimed that a list of EmailMessage objects could be passed to set_content(), but this was never implemented.
1 parent 5cbefa9 commit 2c071ce

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Doc/library/email.contentmanager.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ Currently the email package provides only one concrete content manager,
126126
set_content(msg, <'EmailMessage'>, cte=None, \
127127
disposition=None, filename=None, cid=None, \
128128
params=None, headers=None)
129-
set_content(msg, <'list'>, subtype='mixed', \
130-
disposition=None, filename=None, cid=None, \
131-
params=None, headers=None)
132129

133130
Add headers and payload to *msg*:
134131

@@ -144,12 +141,6 @@ Currently the email package provides only one concrete content manager,
144141
specified or ``rfc822`` if it is not. If *subtype* is
145142
``partial``, raise an error (``bytes`` objects must be used to
146143
construct ``message/partial`` parts).
147-
* For *<'list'>*, which should be a list of
148-
:class:`~email.message.EmailMessage` objects, set the ``maintype``
149-
to ``multipart``, and the ``subtype`` to *subtype* if it is
150-
specified, and ``mixed`` if it is not. If the message parts in
151-
the *<'list'>* have :mailheader:`MIME-Version` headers, remove
152-
them.
153144

154145
If *charset* is provided (which is valid only for ``str``), encode the
155146
string to bytes using the specified character set. The default is

0 commit comments

Comments
 (0)