[Python-checkins] python/dist/src/Doc/lib libuu.tex, 1.12.20.1,
1.12.20.2
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Thu Mar 3 11:05:40 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26580
Modified Files:
Tag: release24-maint
libuu.tex
Log Message:
Document quiet parameter to decode. Fixes #803413.
Index: libuu.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libuu.tex,v
retrieving revision 1.12.20.1
retrieving revision 1.12.20.2
diff -u -d -r1.12.20.1 -r1.12.20.2
--- libuu.tex 1 Jan 2005 00:34:53 -0000 1.12.20.1
+++ libuu.tex 3 Mar 2005 10:05:37 -0000 1.12.20.2
@@ -31,13 +31,17 @@
respectively.
\end{funcdesc}
-\begin{funcdesc}{decode}{in_file\optional{, out_file\optional{, mode}}}
+\begin{funcdesc}{decode}{in_file\optional{, out_file\optional{, mode\optional{, quiet}}}}
This call decodes uuencoded file \var{in_file} placing the result on
file \var{out_file}. If \var{out_file} is a pathname, \var{mode} is
used to set the permission bits if the file must be
created. Defaults for \var{out_file} and \var{mode} are taken from
the uuencode header. However, if the file specified in the header
already exists, a \exception{uu.Error} is raised.
+
+ \function{decode} may print a warning to stderr if the input was produced
+ by an incorrect uuencoder and Python could recover from that error.
+ Setting \var{quiet} to True silences this warning.
\end{funcdesc}
\begin{excclassdesc}{Error}{}
More information about the Python-checkins
mailing list