"Michael" wrote:
> List comprehensions get their name (AFAICT) very clearly from set
> comprehensions in mathematics. As a result anyone who has ever seen
> a set comprehension in maths goes "oooh, I see". They're not the same, but
> IMO they're close enough to warrant that name.
fwiw, they've also been around for ages:
http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?list+comprehension
(the name goes back to the early eighties, the construct is older than that)
</F>
--
http://mail.python.org/mailman/listinfo/python-list