[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.110,1.111
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Mon, 08 Jul 2002 22:25:48 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv17895/lib
Modified Files:
libfuncs.tex
Log Message:
Note that unicode() can raise LookupError for unknown codecs.
Closes SF bug #513666.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** libfuncs.tex 8 Jul 2002 14:29:05 -0000 1.110
--- libfuncs.tex 9 Jul 2002 05:25:46 -0000 1.111
***************
*** 860,864 ****
will decode the object which can either be an 8-bit string or a
character buffer using the codec for \var{encoding}. The
! \var{encoding} parameter is a string giving the name of an encoding.
Error handling is done according to \var{errors}; this specifies the
treatment of characters which are invalid in the input encoding. If
--- 860,865 ----
will decode the object which can either be an 8-bit string or a
character buffer using the codec for \var{encoding}. The
! \var{encoding} parameter is a string giving the name of an encoding;
! if the encoding is not known, \exception{LookupError} is raised.
Error handling is done according to \var{errors}; this specifies the
treatment of characters which are invalid in the input encoding. If