diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-03-04 17:34:05 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-03-04 17:34:05 +0000 |
commit | 3f3330f3886166532558c3d4b0d10deb104dc1ee (patch) | |
tree | 1dd37c071f5a5d2536f8c261184179e4cc385673 | |
parent | 3bc5cb7e0db13ba3885c8ed3d51ea792738499b2 (diff) | |
download | cpython-git-3f3330f3886166532558c3d4b0d10deb104dc1ee.tar.gz |
Fix documentation of email.Message.get_filename to match
the fix applied in Issue 7082.
-rw-r--r-- | Doc/library/email.message.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index 85a5d83eba..5ebc960860 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]) |