Skip to content

Commit 4b5757b

Browse files
author
loewis
committed
Document quiet parameter to decode. Fixes #803413.
git-svn-id: http://svn.python.org/projects/python/trunk@38540 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 8fb086d commit 4b5757b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/lib/libuu.tex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ \section{\module{uu} ---
3131
respectively.
3232
\end{funcdesc}
3333

34-
\begin{funcdesc}{decode}{in_file\optional{, out_file\optional{, mode}}}
34+
\begin{funcdesc}{decode}{in_file\optional{, out_file\optional{, mode\optional{, quiet}}}}
3535
This call decodes uuencoded file \var{in_file} placing the result on
3636
file \var{out_file}. If \var{out_file} is a pathname, \var{mode} is
3737
used to set the permission bits if the file must be
3838
created. Defaults for \var{out_file} and \var{mode} are taken from
3939
the uuencode header. However, if the file specified in the header
4040
already exists, a \exception{uu.Error} is raised.
41+
42+
\function{decode} may print a warning to stderr if the input was produced
43+
by an incorrect uuencoder and Python could recover from that error.
44+
Setting \var{quiet} to True silences this warning.
4145
\end{funcdesc}
4246

4347
\begin{excclassdesc}{Error}{}

0 commit comments

Comments
 (0)