bpo-30820: Remove incorrect docs for email.contentmanager.raw_data_ma… · python/cpython@bbbc3d9 (original) (raw)
`@@ -126,9 +126,6 @@ Currently the email package provides only one concrete content manager,
`
126
126
` set_content(msg, <'EmailMessage'>, cte=None, \
`
127
127
` disposition=None, filename=None, cid=None, \
`
128
128
` params=None, headers=None)
`
129
``
`-
set_content(msg, <'list'>, subtype='mixed', \
`
130
``
`-
disposition=None, filename=None, cid=None, \
`
131
``
`-
params=None, headers=None)
`
132
129
``
133
130
` Add headers and payload to msg:
`
134
131
``
`@@ -144,12 +141,6 @@ Currently the email package provides only one concrete content manager,
`
144
141
``` specified or rfc822
if it is not. If subtype is
`145`
`142`
``` ``partial``, raise an error (``bytes`` objects must be used to
146
143
``` 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.
`
153
144
``
154
145
``` If *charset* is provided (which is valid only for str
), encode the
```
155
146
` string to bytes using the specified character set. The default is
`