diff options
| author | Fred Drake <fdrake@acm.org> | 2002-06-26 21:25:15 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2002-06-26 21:25:15 +0000 |
| commit | 33fd5f7e02fc22e60537c5dfef7a8cbe5899eee3 (patch) | |
| tree | 27745667c5ca8e1d235aef2e4083f6b465e22dc6 | |
| parent | e0c62b4db0acd29fa4720433b6bc19f8511dfb04 (diff) | |
| download | cpython-git-33fd5f7e02fc22e60537c5dfef7a8cbe5899eee3.tar.gz | |
Fix typo reported to python-docs.
| -rw-r--r-- | Doc/tut/tut.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 0a4c95e387..1e5774bff2 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -1826,7 +1826,7 @@ List comprehensions provide a concise way to create lists without resorting to use of \function{map()}, \function{filter()} and/or \keyword{lambda}. The resulting list definition tends often to be clearer than lists built using those constructs. Each list comprehension consists of an expression -following by a \keyword{for} clause, then zero or more \keyword{for} or +followed by a \keyword{for} clause, then zero or more \keyword{for} or \keyword{if} clauses. The result will be a list resulting from evaluating the expression in the context of the \keyword{for} and \keyword{if} clauses which follow it. If the expression would evaluate to a tuple, it must be |
