summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-23 06:06:52 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-23 06:06:52 (GMT)
commit93852ef3c842b283bd50b66aa1f3876317f380d7 (patch)
treec2b382f05809065ea67570e6e22cb131f5d37dce /Doc/ref
parentdeda9f3420ea9da5591cd4eec69f5c07f3ee5441 (diff)
downloadcpython-93852ef3c842b283bd50b66aa1f3876317f380d7.zip
cpython-93852ef3c842b283bd50b66aa1f3876317f380d7.tar.gz
cpython-93852ef3c842b283bd50b66aa1f3876317f380d7.tar.bz2
Fix minor markup nits.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref6.tex2
-rw-r--r--Doc/ref/ref7.tex6
2 files changed, 2 insertions, 6 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index 4cf30ff..13b1c71 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -657,7 +657,7 @@ This statement supports dynamic execution of Python code. The first
expression should evaluate to either a string, an open file object, or
a code object. If it is a string, the string is parsed as a suite of
Python statements which is then executed (unless a syntax error
-occurs). If it is an open file, the file is parsed until EOF and
+occurs). If it is an open file, the file is parsed until \EOF{} and
executed. If it is a code object, it is simply executed.
In all cases, if the optional parts are omitted, the code is executed
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex
index 64d3621..e43faec 100644
--- a/Doc/ref/ref7.tex
+++ b/Doc/ref/ref7.tex
@@ -113,7 +113,7 @@ of the suite and goes back to testing the expression.
\indexii{loop}{statement}
The \keyword{for} statement is used to iterate over the elements of a
-sequence (string, tuple or list):
+sequence (such as a string, tuple or list) or other iterable object:
\obindex{sequence}
\begin{verbatim}
@@ -353,10 +353,6 @@ positional parameters, defaulting to the empty tuple. If the form
dictionary receiving any excess keyword arguments, defaulting to a
new empty dictionary.
-
-
-
-
It is also possible to create anonymous functions (functions not bound
to a name), for immediate use in expressions. This uses lambda forms,
described in section \ref{lambda}. Note that the lambda form is