Why don't people like lisp?

Brian Kelley bkelley at wi.mit.edu
Thu Oct 23 14:59:02 EDT 2003


Brian Kelley wrote:
> class bar:
>   def some_fun(x):
>        foo = lambda self=self, x: self.object.insert(x)
>        foo(x)
oops, that should be
  foo = lambda x, self=self: self.object.insert(x)








More information about the Python-list mailing list