Def generating a function to be ran in another context

Marcelo de Moraes Serpa celoserpa at gmail.com
Wed Mar 5 15:18:00 EST 2008


I'd like a certain function to generate a method for another class and this
new method to be called in the context of the "new" class. Is it possible
with Python?

Thanks,

Marcelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080305/91c8c14c/attachment.html>


More information about the Python-list mailing list