diff options
author | Fred Drake <fdrake@acm.org> | 2005-05-25 05:39:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-05-25 05:39:36 (GMT) |
commit | b141cd03a1940b8a5250200b91b3b7d3ee7ac089 (patch) | |
tree | 014ae191c3e6fc2edd8ad1262d6d1722be1539f0 /Doc/lib | |
parent | db22958f073cab14ee2510991cd14df674681f5b (diff) | |
download | cpython-b141cd03a1940b8a5250200b91b3b7d3ee7ac089.zip cpython-b141cd03a1940b8a5250200b91b3b7d3ee7ac089.tar.gz cpython-b141cd03a1940b8a5250200b91b3b7d3ee7ac089.tar.bz2 |
fix description of the input range of unichr()
(closes SF bug #1120777)
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libfuncs.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 1e6710b..7b990e9 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -1077,7 +1077,8 @@ It's a function 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} |