Document how to pass a 'decode' argument to get_payload when
is_multipart is False.
This commit is contained in:
parent
1271662067
commit
e202700f4f
|
@ -112,6 +112,9 @@ Here are the methods of the :class:`Message` class:
|
||||||
*decode* flag is ``True``, then ``None`` is returned. The default for
|
*decode* flag is ``True``, then ``None`` is returned. The default for
|
||||||
*decode* is ``False``.
|
*decode* is ``False``.
|
||||||
|
|
||||||
|
To pass a value for the decode flag to a non-multipart message, specify
|
||||||
|
``None`` as the value of *i*.
|
||||||
|
|
||||||
|
|
||||||
.. method:: set_payload(payload[, charset])
|
.. method:: set_payload(payload[, charset])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue