Iain King <iaink...@gmail.com> wrote: >Sort of tangenitally; is there any real difference between the outcome >of the two following pieces of code? > >a = lambda x: x+2 > >def a(x): > return x+2
a.__name__ As for why that matters, try a(None) and see which gives the more informative traceback. -- \S under construction -- http://mail.python.org/mailman/listinfo/python-list