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

is_multipart is False.
This commit is contained in:
R. David Murray 2009-05-07 01:39:25 +00:00
parent 1271662067
commit e202700f4f
1 changed files with 3 additions and 0 deletions

View File

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