Inheritance but only partly?

process circularfunc at gmail.com
Thu Oct 2 22:16:40 CEST 2008


Let's say I have a class X which has 10 methods.

I want class Y to inherit 5 of them.

Can I do that? Can I do something along the lines of super(Y, exclude
method 3 4 7 9 10) ?



More information about the Python-list mailing list