diff options
author | Georg Brandl <georg@python.org> | 2006-03-17 16:26:31 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-03-17 16:26:31 +0000 |
commit | db815abc70a20f81c9de1c99b9089944c802c715 (patch) | |
tree | 4fe27086334262c4177877d4401c40d16975a2e6 /Doc/lib/compiler.tex | |
parent | da37604ee32cdefbb0184b7f34c97cf1aa1ec3cf (diff) | |
download | cpython-git-db815abc70a20f81c9de1c99b9089944c802c715.tar.gz |
More \exception fixes.
Diffstat (limited to 'Doc/lib/compiler.tex')
-rw-r--r-- | Doc/lib/compiler.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/compiler.tex b/Doc/lib/compiler.tex index e619a9af36..f0926e7001 100644 --- a/Doc/lib/compiler.tex +++ b/Doc/lib/compiler.tex @@ -40,9 +40,9 @@ modules contained in the package. \begin{funcdesc}{parse}{buf} Returns an abstract syntax tree for the Python source code in \var{buf}. -The function raises SyntaxError if there is an error in the source -code. The return value is a \class{compiler.ast.Module} instance that -contains the tree. +The function raises \exception{SyntaxError} if there is an error in the +source code. The return value is a \class{compiler.ast.Module} instance +that contains the tree. \end{funcdesc} \begin{funcdesc}{parseFile}{path} |