Filip Gruszczyński wrote:

I would like to iterate over a sequence nad ignore all None objects.
The most obvious way is explicitly checking if element is not None,
but it takes too much space.

That doesn't make much sense; why would iterating over the sequence take more _space_?

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
 San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
  Life is a gamble so I should / Live life more carefully
   -- TLC
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to