]> granicus.if.org Git - python/commitdiff
Document how to pass a 'decode' argument to get_payload when
authorR. David Murray <rdmurray@bitdance.com>
Thu, 7 May 2009 01:39:25 +0000 (01:39 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 7 May 2009 01:39:25 +0000 (01:39 +0000)
is_multipart is False.

Doc/library/email.message.rst

index 0e79b6c8a44c4c763a2a12dc7e46a0cebaed7c23..9fead222ccfb80ee230e5ee48bf8001ab8ef00de 100644 (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* 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])