Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 665dd70

Browse files
committed
Note the exception raised when parameter to chr() is out of range.
1 parent 33d5184 commit 665dd70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/lib/libfuncs.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ \section{Built-in Functions \label{built-in-funcs}}
102102
Return a string of one character whose \ASCII{} code is the integer
103103
\var{i}, e.g., \code{chr(97)} returns the string \code{'a'}. This is the
104104
inverse of \function{ord()}. The argument must be in the range [0..255],
105-
inclusive.
105+
inclusive; \exception{ValueError} will be raised if \var{i} is
106+
outside that range.
106107
\end{funcdesc}
107108

108109
\begin{funcdesc}{cmp}{x, y}

0 commit comments

Comments
 (0)