Kaydet (Commit) 48653af7 authored tarafından Barry Warsaw's avatar Barry Warsaw

Update email.Message.get_filename() documentation.

üst a0f28efc
...@@ -435,10 +435,11 @@ When the \mailheader{Content-Type} header is set a ...@@ -435,10 +435,11 @@ When the \mailheader{Content-Type} header is set a
\begin{methoddesc}[Message]{get_filename}{\optional{failobj}} \begin{methoddesc}[Message]{get_filename}{\optional{failobj}}
Return the value of the \code{filename} parameter of the Return the value of the \code{filename} parameter of the
\mailheader{Content-Disposition} header of the message, or \var{failobj} if \mailheader{Content-Disposition} header of the message. If the header does
either the header is missing, or has no \code{filename} parameter. not have a \code{filename} parameter, this method falls back to looking for
The returned string will always be unquoted as per the \code{name} parameter. If neither is found, or the header is missing,
\method{Utils.unquote()}. then \var{failobj} is returned. The returned string will always be unquoted
as per \method{Utils.unquote()}.
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[Message]{get_boundary}{\optional{failobj}} \begin{methoddesc}[Message]{get_boundary}{\optional{failobj}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment