Fredrik Lundh enlightened us with: >> def somefunc(x): return x*5 >> >> How is that a multi-line function definition? > > but that's namespace pollution! if you do this, nobody will never ever be > able to use the name somefunc again! won't somebody please think about > the children!
If you use that as an inner function, it only "pollutes" the local namespace of that function. How's that influencing the rest of the world? Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list