summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-06 14:45:19 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-06 14:45:19 (GMT)
commit665dd704a32ffb752e5eed640b90fcd235ae4e5c (patch)
tree6d78b96d068a3b147a2f29e82a0f33ccf038c16a /Doc/lib
parent33d51841a37dee10cb6ca21683f5f2520209ea00 (diff)
downloadcpython-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.tex3
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}