summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-09-09 14:16:36 (GMT)
committerFred Drake <fdrake@acm.org>1999-09-09 14:16:36 (GMT)
commit244ad3ca15b9381594031cdcb0809621046f1458 (patch)
treeab8ecd44ff29d6031f830efefe02aa8c4168904a /Doc
parent7f2c9d38902699e37970a7b85eb3ff9ffe700bd5 (diff)
downloadcpython-244ad3ca15b9381594031cdcb0809621046f1458.zip
cpython-244ad3ca15b9381594031cdcb0809621046f1458.tar.gz
cpython-244ad3ca15b9381594031cdcb0809621046f1458.tar.bz2
Name the parameter to expr() and suite() "source" instead of "string".
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libparser.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex
index d1595d2..5a339b2 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.