Chris Angelico wrote:
> Yeah, it's legal because you can nest fors and ifs in a list comp. > Stylistic difference, I used "if" instead of "and" because there's no > way that it could be a bitwise and. If you're using Python, there's no way that it could be a bitwise and. > (It's a cross-language safety net that I sometimes use.) I'm not familiar with a language that uses Python syntax but "and" is a bitwise and. Which language is that? -- Steven -- http://mail.python.org/mailman/listinfo/python-list