Maric Michaud a écrit : > Le mardi 27 juin 2006 05:05, Bruno Desthuilliers a écrit : > >>import types >>t.update = types.MethodType(another_update) > > > This works with : > > t.update = types.MethodType(another_update, t)
oops ! too fast on the send button :( And thanks for the correction. -- http://mail.python.org/mailman/listinfo/python-list