]> granicus.if.org Git - python/commitdiff
Fix documentation of email.Message.get_filename to match
authorR. David Murray <rdmurray@bitdance.com>
Thu, 4 Mar 2010 17:34:05 +0000 (17:34 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 4 Mar 2010 17:34:05 +0000 (17:34 +0000)
the fix applied in Issue 7082.

Doc/library/email.message.rst

index 85a5d83eba09e23f06d28d9aa96f4048995edd0c..5ebc96086090728e06d5c7b60c43041b4603b033 100644 (file)
@@ -447,9 +447,10 @@ Here are the methods of the :class:`Message` class:
       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])