Skip to content

Commit f5bf77c

Browse files
committed
update simple explanation of parseFile()
1 parent 76f42ac commit f5bf77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/compiler/doc/compiler.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ \section{The basic interface}
7575

7676
\begin{funcdesc}{parseFile}{path}
7777
Return an abstract syntax tree for the Python source code in the file
78-
specified by \var{path}. It is equivalent to \code{parse(open(path))}.
78+
specified by \var{path}. It is equivalent to \code{parse(open(path).read())}.
7979
\end{funcdesc}
8080

8181
\begin{funcdesc}{walk}{ast, visitor, \optional{verbose=None}}

0 commit comments

Comments
 (0)