[Python-checkins] r72418 - python/trunk/Doc/library/email.message.rst

r.david.murray python-checkins at python.org
Thu May 7 03:39:26 CEST 2009


Author: r.david.murray
Date: Thu May  7 03:39:25 2009
New Revision: 72418

Log:
Document how to pass a 'decode' argument to get_payload when
is_multipart is False.


Modified:
   python/trunk/Doc/library/email.message.rst

Modified: python/trunk/Doc/library/email.message.rst
==============================================================================
--- python/trunk/Doc/library/email.message.rst	(original)
+++ python/trunk/Doc/library/email.message.rst	Thu May  7 03:39:25 2009
@@ -112,6 +112,9 @@
       *decode* flag is ``True``, then ``None`` is returned.  The default for
       *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])
 


More information about the Python-checkins mailing list