summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-06-11 14:47:47 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2018-06-11 14:47:47 (GMT)
commit2c071cebe67f517f191f4074757a79b0f597d886 (patch)
tree9d68b07f4f476f95e3ed721009eb2ce05572a9fb /Doc
parent5cbefa99198729a1d4e93d93f890c066039ee1d2 (diff)
downloadcpython-2c071cebe67f517f191f4074757a79b0f597d886.zip
cpython-2c071cebe67f517f191f4074757a79b0f597d886.tar.gz
cpython-2c071cebe67f517f191f4074757a79b0f597d886.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/email.contentmanager.rst9
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/library/email.contentmanager.rst b/Doc/library/email.contentmanager.rst
index f56836a..e09c7c0 100644
--- a/Doc/library/email.contentmanager.rst
+++ b/Doc/library/email.contentmanager.rst
@@ -126,9 +126,6 @@ Currently the email package provides only one concrete content manager,
set_content(msg, <'EmailMessage'>, cte=None, \
disposition=None, filename=None, cid=None, \
params=None, headers=None)
- set_content(msg, <'list'>, subtype='mixed', \
- disposition=None, filename=None, cid=None, \
- params=None, headers=None)
Add headers and payload to *msg*:
@@ -144,12 +141,6 @@ Currently the email package provides only one concrete content manager,
specified or ``rfc822`` if it is not. If *subtype* is
``partial``, raise an error (``bytes`` objects must be used to
construct ``message/partial`` parts).
- * For *<'list'>*, which should be a list of
- :class:`~email.message.EmailMessage` objects, set the ``maintype``
- to ``multipart``, and the ``subtype`` to *subtype* if it is
- specified, and ``mixed`` if it is not. If the message parts in
- the *<'list'>* have :mailheader:`MIME-Version` headers, remove
- them.
If *charset* is provided (which is valid only for ``str``), encode the
string to bytes using the specified character set. The default is