summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/email.message.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst
index 7e939c9..9dcb2b4 100644
--- a/Doc/library/email.message.rst
+++ b/Doc/library/email.message.rst
@@ -415,9 +415,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=None)