Docs for the PEP 264 changes.

This commit is contained in:
Michael W. Hudson 2001-08-27 20:02:17 +00:00
parent 71b6af91d3
commit 53da317801
4 changed files with 111 additions and 21 deletions

View file

@ -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}