diff options
| author | Michael W. Hudson <mwh@python.net> | 2001-08-27 20:02:17 +0000 |
|---|---|---|
| committer | Michael W. Hudson <mwh@python.net> | 2001-08-27 20:02:17 +0000 |
| commit | 53da3178011d5eaf143d6d9d76274a7530204179 (patch) | |
| tree | fb925ca1fbd4b221068a84a2d0c81205c67abc46 /Doc/lib/libcode.tex | |
| parent | 71b6af91d382a0e084b55f1d519aedc1b71a97d4 (diff) | |
| download | cpython-git-53da3178011d5eaf143d6d9d76274a7530204179.tar.gz | |
Docs for the PEP 264 changes.
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 36410b2886..ff6bde2ce7 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} |
