diff options
Diffstat (limited to 'Doc/lib/libcode.tex')
-rw-r--r-- | Doc/lib/libcode.tex | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/lib/libcode.tex b/Doc/lib/libcode.tex index 36410b2..ff6bde2 100644 --- a/Doc/lib/libcode.tex +++ b/Doc/lib/libcode.tex @@ -60,9 +60,8 @@ Returns a code object (the same as \code{compile(\var{source}, \var{filename}, \var{symbol})}) if the command is complete and valid; \code{None} if the command is incomplete; raises \exception{SyntaxError} if the command is complete and contains a -syntax error, or raises \exception{OverflowError} if the command -includes a numeric constant which exceeds the range of the -appropriate numeric type. +syntax error, or raises \exception{OverflowError} or +\exception{ValueError} if the command cotains an invalid literal. \end{funcdesc} |