From: Jeremy Hylton Date: Tue, 14 Aug 2001 22:38:03 +0000 (+0000) Subject: update simple explanation of parseFile() X-Git-Tag: v2.2a3~552 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5bf77c3f8eaa2a35b3a3e72b604992760236795;p=thirdparty%2FPython%2Fcpython.git update simple explanation of parseFile() --- diff --git a/Tools/compiler/doc/compiler.tex b/Tools/compiler/doc/compiler.tex index 98ac5f27eca4..ccc962c56e47 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}}