Re: Def generating a function to be ran in another context

2008-03-05 Thread Terry Reedy
"Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | 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? Yes. (Assuming I understand your questi

Def generating a function to be ran in another context

2008-03-05 Thread Marcelo de Moraes Serpa
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. -- http://mail.python.org/mailman/listinfo/python-list