From: Fred Drake Date: Thu, 9 Sep 1999 14:16:36 +0000 (+0000) Subject: Name the parameter to expr() and suite() "source" instead of "string". X-Git-Tag: v1.6a1~941 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=244ad3ca15b9381594031cdcb0809621046f1458;p=thirdparty%2FPython%2Fcpython.git Name the parameter to expr() and suite() "source" instead of "string". --- diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex index d1595d263d43..5a339b25e65b 100644 --- a/Doc/lib/libparser.tex +++ b/Doc/lib/libparser.tex @@ -110,17 +110,17 @@ AST objects may be created from source code or from a parse tree. When creating an AST object from source, different functions are used to create the \code{'eval'} and \code{'exec'} forms. -\begin{funcdesc}{expr}{string} -The \function{expr()} function parses the parameter \var{string} -as if it were an input to \samp{compile(\var{string}, 'eval')}. If +\begin{funcdesc}{expr}{source} +The \function{expr()} function parses the parameter \var{source} +as if it were an input to \samp{compile(\var{source}, 'eval')}. If the parse succeeds, an AST object is created to hold the internal parse tree representation, otherwise an appropriate exception is thrown. \end{funcdesc} -\begin{funcdesc}{suite}{string} -The \function{suite()} function parses the parameter \var{string} -as if it were an input to \samp{compile(\var{string}, 'exec')}. If +\begin{funcdesc}{suite}{source} +The \function{suite()} function parses the parameter \var{source} +as if it were an input to \samp{compile(\var{source}, 'exec')}. If the parse succeeds, an AST object is created to hold the internal parse tree representation, otherwise an appropriate exception is thrown.