summaryrefslogtreecommitdiffstats
path: root/Doc/lib/compiler.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/compiler.tex')
-rw-r--r--Doc/lib/compiler.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/compiler.tex b/Doc/lib/compiler.tex
index e619a9a..f0926e7 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}