list comprehensions

Aahz aahz at pythoncraft.com
Fri Apr 9 13:37:23 EDT 2004


In article <yjZcc.42823$Pk3.9547 at pd7tw1no>,
Elaine Jackson <elainejackson7355 at home.com> wrote:
>
>List comprehensions don't work the way you intuitively expect them
>to work. I realize many people have no intuitions about how list
>comprehensions 'should' work, so if you recognize yourself in this
>description, feel free to go back to whatever you were doing before. If
>you're still here, though, I invite you to consider the following
>definition:

Short response: don't write complex listcomps.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list