Is it possible to change the content of a function after the function
has been created? For instance, say I make a class:

        class MyClass:
                def ClassFunction(self):
                        return 1

And I create an object:

        MyObject = MyClass()

Is there any way to change the content of the function, a la pseudo-
code:

        MyObject.ClassFunction = "return 2"

Thanks for any insight you might be able to offer.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to