summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-05-19 00:03:55 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-05-19 00:03:55 (GMT)
commite04fe8c62e20e411c80efc8223970bab7f467855 (patch)
tree2e35149de53c6a34bfe99d8bc83236ebbcd0ae45 /Doc/whatsnew
parent3e3cb7904b0a9dfa911c26700b1532e6701dadfa (diff)
downloadcpython-e04fe8c62e20e411c80efc8223970bab7f467855.zip
cpython-e04fe8c62e20e411c80efc8223970bab7f467855.tar.gz
cpython-e04fe8c62e20e411c80efc8223970bab7f467855.tar.bz2
Typo fix; add clarifying word
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew20.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew20.tex b/Doc/whatsnew/whatsnew20.tex
index 7cd0395..56d15b8 100644
--- a/Doc/whatsnew/whatsnew20.tex
+++ b/Doc/whatsnew/whatsnew20.tex
@@ -330,7 +330,7 @@ List comprehensions have the form:
[ expression for expr in sequence1
for expr2 in sequence2 ...
for exprN in sequenceN
- if condition
+ if condition ]
\end{verbatim}
The \keyword{for}...\keyword{in} clauses contain the sequences to be
@@ -356,7 +356,7 @@ for expr1 in sequence1:
# resulting list.
\end{verbatim}
-This means that when there are \keyword{for}...\keyword{in} clauses,
+This means that when there are multiple \keyword{for}...\keyword{in} clauses,
the resulting list will be equal to the product of the lengths of all
the sequences. If you have two lists of length 3, the output list is
9 elements long: