Removing None objects from a sequence
Erik Max Francis
max at alcyone.com
Fri Dec 12 10:26:54 CET 2008
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
Erik Max Francis && max at 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
More information about the Python-list