what's wrong with "lambda x : print x/60,x%60"

Fredrik Lundh fredrik at pythonware.com
Tue Dec 6 00:33:17 CET 2005

Sybren Stuvel wrote:

> 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!


More information about the Python-list mailing list