Fix documentation of email.Message.get_filename to match

the fix applied in Issue 7082.
This commit is contained in:
R. David Murray 2010-03-04 17:34:05 +00:00
parent 3bc5cb7e0d
commit 3f3330f388
1 changed files with 4 additions and 3 deletions

View File

@ -447,9 +447,10 @@ Here are the methods of the :class:`Message` class:
Return the value of the ``filename`` parameter of the Return the value of the ``filename`` parameter of the
:mailheader:`Content-Disposition` header of the message. If the header :mailheader:`Content-Disposition` header of the message. If the header
does not have a ``filename`` parameter, this method falls back to looking does not have a ``filename`` parameter, this method falls back to looking
for the ``name`` parameter. If neither is found, or the header is for the ``name`` parameter on the :mailheader:`Content-Type` header. If
missing, then *failobj* is returned. The returned string will always be neither is found, or the header is missing, then *failobj* is returned.
unquoted as per :func:`email.utils.unquote`. The returned string will always be unquoted as per
:func:`email.utils.unquote`.
.. method:: get_boundary([failobj]) .. method:: get_boundary([failobj])