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

fdrake@users.sourceforge.net fdrake at users.sourceforge.net
Wed May 25 07:42:58 CEST 2005

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

Modified Files:
      Tag: release24-maint
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
retrieving revision
diff -u -d -r1.175.2.2 -r1.175.2.3
--- libfuncs.tex	7 Jan 2005 04:35:08 -0000
+++ libfuncs.tex	25 May 2005 05:42:51 -0000
@@ -1039,7 +1039,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.

More information about the Python-checkins mailing list