summaryrefslogtreecommitdiffstats
path: root/Tools/compiler/doc/compiler.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/compiler/doc/compiler.tex')
-rw-r--r--Tools/compiler/doc/compiler.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/compiler/doc/compiler.tex b/Tools/compiler/doc/compiler.tex
index 98ac5f2..ccc962c 100644
--- a/Tools/compiler/doc/compiler.tex
+++ b/Tools/compiler/doc/compiler.tex
@@ -75,7 +75,7 @@ contains the tree.
\begin{funcdesc}{parseFile}{path}
Return an abstract syntax tree for the Python source code in the file
-specified by \var{path}. It is equivalent to \code{parse(open(path))}.
+specified by \var{path}. It is equivalent to \code{parse(open(path).read())}.
\end{funcdesc}
\begin{funcdesc}{walk}{ast, visitor, \optional{verbose=None}}