Experimenting, I found that

>>> x.fun = lambda: fun(x)

works as well. Any comments on this way?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to