Martin v. Löwis wrote:
> Steven Bethard schrieb:
>> Does this approach seem sound? Am I going to run into some weird
>> problems doing it this way?
>
> It's good, but I think rebuilding the object through
> new.instancemethod should be even better.
>
> py> class A:
> ... def f(self):print "A"
Steven Bethard schrieb:
> Does this approach seem sound? Am I going to run into some weird
> problems doing it this way?
It's good, but I think rebuilding the object through
new.instancemethod should be even better.
py> class A:
... def f(self):print "A"
...
py> class B(A):
... def f(self):p