From: A.M. K. <aku...@us...> - 2000-09-27 01:01:21
|
Update of /cvsroot/py-howto/pyhowto In directory slayer.i.sourceforge.net:/tmp/cvs-serv7693 Modified Files: python-2.0.tex Log Message: Fixed error in explanation of codec decode_func pointed out by Gregg Hauser, and rewrote paragraph a bit. Index: python-2.0.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/python-2.0.tex,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** python-2.0.tex 2000/09/25 14:40:15 1.30 --- python-2.0.tex 2000/09/27 01:01:18 1.31 *************** *** 138,145 **** how much of the Unicode string was converted. ! \item \var{decode_func} is the mirror of \var{encode_func}, ! taking a Unicode string and ! returns a 2-tuple \code{(\var{ustring}, \var{length})} containing a Unicode string ! and \var{length} telling you how much of the string was consumed. \item \var{stream_reader} is a class that supports decoding input from --- 138,146 ---- how much of the Unicode string was converted. ! \item \var{decode_func} is the opposite of \var{encode_func}, taking ! an 8-bit string and returning a 2-tuple \code{(\var{ustring}, ! \var{length})}, consisting of the resulting Unicode string ! \var{ustring} and the integer \var{length} telling how much of the ! string was consumed. \item \var{stream_reader} is a class that supports decoding input from *************** *** 1043,1049 **** The authors would like to thank the following people for offering ! suggestions on drafts of this article: Mark Hammond, Fredrik Lundh, ! Detlef Lannert, Skip Montanaro, Vladimir Marangozov, Guido van Rossum, ! and Neil Schemenauer. \end{document} --- 1044,1050 ---- The authors would like to thank the following people for offering ! suggestions on drafts of this article: Mark Hammond, Gregg Hauser, ! Fredrik Lundh, Detlef Lannert, Skip Montanaro, Vladimir Marangozov, ! Guido van Rossum, and Neil Schemenauer. \end{document} |