diff Doc/lib/libcode.tex @ 19503:17b2afba7a6f legacy-trunk

Docs for the PEP 264 changes.
author Michael W. Hudson <mwh@python.net>
date Mon, 27 Aug 2001 20:02:17 +0000
parents 07a2dc1b72ae
children 73d145bfd8e4
line wrap: on
line diff
--- a/Doc/lib/libcode.tex	Mon Aug 27 19:45:25 2001 +0000
+++ b/Doc/lib/libcode.tex	Mon Aug 27 20:02:17 2001 +0000
@@ -60,9 +60,8 @@
 \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}