Filip Gruszczyński wrote:
I am not doing it, because I need it. I can as well use "if not elem is None",
I suggest "if elem is not None", which is not quite the same.If you slip such an error in a post, I suggest to practice some time writing correct code before having one-liner contests with your perl-loving friends :)
-- http://mail.python.org/mailman/listinfo/python-list