]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix minor markup nits.
authorFred Drake <fdrake@acm.org>
Sat, 23 Jun 2001 06:06:52 +0000 (06:06 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 23 Jun 2001 06:06:52 +0000 (06:06 +0000)
Doc/ref/ref6.tex
Doc/ref/ref7.tex

index 4cf30ff29669a8ef007c691e32c5a631b7a641b7..13b1c7119dca16e69305420b203e44fe5c91fca7 100644 (file)
@@ -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
index 64d3621f8e051e67f13ef57ee7c47e9c5446f2d9..e43faecd6a0d507fc4eb4ff26ec591e0cd619cbf 100644 (file)
@@ -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