[Python-checkins] python/dist/src/Doc/lib libfuncs.tex, 1.181, 1.182

fdrake@users.sourceforge.net fdrake at users.sourceforge.net
Wed May 25 07:39:38 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14039/lib

Modified Files:
	libfuncs.tex 
Log Message:
fix description of the input range of unichr()
(closes SF bug #1120777)


Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- libfuncs.tex	19 Mar 2005 16:27:33 -0000	1.181
+++ libfuncs.tex	25 May 2005 05:39:36 -0000	1.182
@@ -1077,7 +1077,8 @@
   Return the Unicode string of one character whose Unicode code is the
   integer \var{i}.  For example, \code{unichr(97)} returns the string
   \code{u'a'}.  This is the inverse of \function{ord()} for Unicode
-  strings.  The argument must be in the range [0..65535], inclusive.
+  strings.  The valid range for the argument depends how Python was
+  configured -- it may be either UCS2 [0..0xFFFF] or UCS4 [0..0x10FFFF].
   \exception{ValueError} is raised otherwise.
   \versionadded{2.0}
 \end{funcdesc}



More information about the Python-checkins mailing list