Index: libbase64.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbase64.tex,v retrieving revision 1.20 diff -c -r1.20 libbase64.tex *** libbase64.tex 28 Nov 2001 07:26:15 -0000 1.20 --- libbase64.tex 15 May 2002 08:12:02 -0000 *************** *** 40,57 **** base64 encoded data to the \var{output} file. \var{input} and \var{output} must either be file objects or objects that mimic the file object interface. \var{input} will be read until ! \code{\var{input}.read()} returns an empty string. If the last input ! character is not a newline (\code{'\e n'}), a newline will be added to ! the input data. \end{funcdesc} \begin{funcdesc}{encodestring}{s} Encode the string \var{s}, which can contain arbitrary binary data, and return a string containing one or more lines of ! base64-encoded data. If the last character of \var{s} is not a ! newline (\code{'\e n'}), a newline will be added. This causes ! \code{encodestring('hello!')} to return the same value as ! \code{encodestring('hello!\e n')}. \end{funcdesc} --- 40,55 ---- base64 encoded data to the \var{output} file. \var{input} and \var{output} must either be file objects or objects that mimic the file object interface. \var{input} will be read until ! \code{\var{input}.read()} returns an empty string. \function{encode()} ! returns the encoded data plus a trailing newline character ! (\code{'\e n'}). \end{funcdesc} \begin{funcdesc}{encodestring}{s} Encode the string \var{s}, which can contain arbitrary binary data, and return a string containing one or more lines of ! base64-encoded data. \function{encodestring()} returns the encoded ! string plus a trailing newline character (\code{'\e n'}). \end{funcdesc}