diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-06 14:45:19 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-06 14:45:19 (GMT) |
commit | 665dd704a32ffb752e5eed640b90fcd235ae4e5c (patch) | |
tree | 6d78b96d068a3b147a2f29e82a0f33ccf038c16a /Doc/lib | |
parent | 33d51841a37dee10cb6ca21683f5f2520209ea00 (diff) | |
download | cpython-665dd704a32ffb752e5eed640b90fcd235ae4e5c.zip cpython-665dd704a32ffb752e5eed640b90fcd235ae4e5c.tar.gz cpython-665dd704a32ffb752e5eed640b90fcd235ae4e5c.tar.bz2 |
Note the exception raised when parameter to chr() is out of range.
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 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} |