From: R. David Murray Date: Thu, 4 Mar 2010 17:34:05 +0000 (+0000) Subject: Fix documentation of email.Message.get_filename to match X-Git-Tag: v2.7a4~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f3330f3886166532558c3d4b0d10deb104dc1ee;p=thirdparty%2FPython%2Fcpython.git Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. --- diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index 85a5d83eba09..5ebc96086090 100644 --- a/Doc/library/email.message.rst +++ b/Doc/library/email.message.rst @@ -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])