From 3f3330f3886166532558c3d4b0d10deb104dc1ee Mon Sep 17 00:00:00 2001 From: "R. David Murray" Date: Thu, 4 Mar 2010 17:34:05 +0000 Subject: Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. --- Doc/library/email.message.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index 85a5d83..5ebc960 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]) -- cgit v0.12