From: Fred Drake Date: Thu, 6 Apr 2000 14:45:19 +0000 (+0000) Subject: Note the exception raised when parameter to chr() is out of range. X-Git-Tag: v1.6a2~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=665dd704a32ffb752e5eed640b90fcd235ae4e5c;p=python Note the exception raised when parameter to chr() is out of range. --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 2fba45a445..1aedf6444c 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -102,7 +102,8 @@ class instances are callable if they have a \method{__call__()} method. Return a string of one character whose \ASCII{} code is the integer \var{i}, e.g., \code{chr(97)} returns the string \code{'a'}. This is the inverse of \function{ord()}. The argument must be in the range [0..255], - inclusive. + inclusive; \exception{ValueError} will be raised if \var{i} is + outside that range. \end{funcdesc} \begin{funcdesc}{cmp}{x, y}