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

r.david.murray python-checkins at python.org
Thu Mar 4 18:34:05 CET 2010


Author: r.david.murray
Date: Thu Mar  4 18:34:05 2010
New Revision: 78656

Log:
Fix documentation of email.Message.get_filename to match
the fix applied in Issue 7082.


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 Mar  4 18:34:05 2010
@@ -447,9 +447,10 @@
       Return the value of the ``filename`` parameter of the
       :mailheader:`Content-Disposition` header of the message.  If the header
       does not have a ``filename`` parameter, this method falls back to looking
-      for the ``name`` parameter.  If neither is found, or the header is
-      missing, then *failobj* is returned.  The returned string will always be
-      unquoted as per :func:`email.utils.unquote`.
+      for the ``name`` parameter on the :mailheader:`Content-Type` header.  If
+      neither is found, or the header is missing, then *failobj* is returned.
+      The returned string will always be unquoted as per
+      :func:`email.utils.unquote`.
 
 
    .. method:: get_boundary([failobj])


More information about the Python-checkins mailing list