| Joel Uckelman on Thu, 9 Dec 2004 11:10:07 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [nimh-dev] virtual member functions |
Is there any way to make Python treat member functions overriden in a subclass as virtual? I'd like to add a parsesequence() to nimh.Message to override the one from mhlib.Message so I can add the remaining functionality to it, but when I try doing that Python seems not to notice and calls in mhlib.Message to parsesequence() still go to the one in mhlib.Message rather than my version in nimh.Message. _______________________________________________ nimh-dev mailing list nimh-dev@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/nimh-dev