Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ed34be

Browse files
committed
Merged revisions 78656 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. ........
1 parent b519d23 commit 9ed34be

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/email.message.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,10 @@ Here are the methods of the :class:`Message` class:
415415
Return the value of the ``filename`` parameter of the
416416
:mailheader:`Content-Disposition` header of the message. If the header
417417
does not have a ``filename`` parameter, this method falls back to looking
418-
for the ``name`` parameter. If neither is found, or the header is
419-
missing, then *failobj* is returned. The returned string will always be
420-
unquoted as per :func:`email.utils.unquote`.
418+
for the ``name`` parameter on the :mailheader:`Content-Type` header. If
419+
neither is found, or the header is missing, then *failobj* is returned.
420+
The returned string will always be unquoted as per
421+
:func:`email.utils.unquote`.
421422

422423

423424
.. method:: get_boundary(failobj=None)

0 commit comments

Comments
 (0)