Removing None objects from a sequence

Erik Max Francis max at alcyone.com
Sat Dec 13 00:45:24 CET 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