Removing None objects from a sequence

Erik Max Francis max at alcyone.com
Fri Dec 12 18:45:24 EST 2008


Filip Gruszczyński wrote:

> I don't mean memory, but space in code ;-)

Your goal should be clarity of code, not saving keystrokes.  Writing 
something that is compact in terms of the amount of code to write does 
not mean its function is clear or even that it is more efficient to run, 
for that matter.

-- 
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
   God grant me to contend with those that understand me.
    -- Thomas Fuller



More information about the Python-list mailing list