summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 22:38:03 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-14 22:38:03 (GMT)
commitf5bf77c3f8eaa2a35b3a3e72b604992760236795 (patch)
tree036bf57e3a1b62895e63724460053240569843e6 /Tools
parent76f42ac51229e9a1f09f6dd72f9c1da00cb32c72 (diff)
downloadcpython-f5bf77c3f8eaa2a35b3a3e72b604992760236795.zip
cpython-f5bf77c3f8eaa2a35b3a3e72b604992760236795.tar.gz
cpython-f5bf77c3f8eaa2a35b3a3e72b604992760236795.tar.bz2
update simple explanation of parseFile()
Diffstat (limited to 'Tools')
-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}}