From: Fred Drake Date: Wed, 26 Jun 2002 21:25:15 +0000 (+0000) Subject: Fix typo reported to python-docs. X-Git-Tag: v2.3c1~5195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33fd5f7e02fc22e60537c5dfef7a8cbe5899eee3;p=python Fix typo reported to python-docs. --- 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