diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-09-27 01:01:18 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-09-27 01:01:18 (GMT) |
commit | 118ee9680e7f6e1ed671422636c03d1066e20f55 (patch) | |
tree | 8ef71c6da28a2cb2bd4e594980896cc778f6e3f6 /Doc | |
parent | 8b2e4e89bdfee0a1a2d79afe1b7b57b897197d9a (diff) | |
download | cpython-118ee9680e7f6e1ed671422636c03d1066e20f55.zip cpython-118ee9680e7f6e1ed671422636c03d1066e20f55.tar.gz cpython-118ee9680e7f6e1ed671422636c03d1066e20f55.tar.bz2 |
Fixed error in explanation of codec decode_func pointed out by Gregg Hauser,
and rewrote paragraph a bit.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew20.tex | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/whatsnew/whatsnew20.tex b/Doc/whatsnew/whatsnew20.tex index fe41ea9..bc827d8 100644 --- a/Doc/whatsnew/whatsnew20.tex +++ b/Doc/whatsnew/whatsnew20.tex @@ -137,10 +137,11 @@ is an 8-bit string containing a portion (perhaps all) of the Unicode string converted into the given encoding, and \var{length} tells you 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{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 a stream. \var{stream_reader(\var{file_obj})} returns an object that @@ -1042,8 +1043,8 @@ these modules. \section{Acknowledgements} 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. +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} |