Commit e202700f authored by R. David Murray's avatar R. David Murray

Document how to pass a 'decode' argument to get_payload when

is_multipart is False.
parent 12716620
...@@ -112,6 +112,9 @@ Here are the methods of the :class:`Message` class: ...@@ -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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment