Kaydet (Commit) 33fd5f7e authored tarafından Fred Drake's avatar Fred Drake

Fix typo reported to python-docs.

üst e0c62b4d
...@@ -1826,7 +1826,7 @@ List comprehensions provide a concise way to create lists without resorting ...@@ -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}. to use of \function{map()}, \function{filter()} and/or \keyword{lambda}.
The resulting list definition tends often to be clearer than lists built The resulting list definition tends often to be clearer than lists built
using those constructs. Each list comprehension consists of an expression 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 \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 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 which follow it. If the expression would evaluate to a tuple, it must be
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment