From 665dd704a32ffb752e5eed640b90fcd235ae4e5c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 6 Apr 2000 14:45:19 +0000 Subject: Note the exception raised when parameter to chr() is out of range. --- Doc/lib/libfuncs.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 2fba45a..1aedf64 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} -- cgit v0.12