bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_ma… · python/cpython@bbbc3d9

@@ -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)

132129133130

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.

153144154145

If *charset* is provided (which is valid only for ``str``), encode the

155146

string to bytes using the specified character set. The default is