Inheritance but only partly?

Simon Brunning simon at
Fri Oct 3 15:29:49 CEST 2008

2008/10/3 Tim Rowe <digitig at>:

> As others have said, no. What nobody seems to have said yet is why. If
> Y descends from X, you are saying that Y is an X; that a Y can be used
> anywhere an X can. If Y doesn't support some methods of X then it is
> *not* an X, and *can't* be used anywhere an X can.

See <>.

Simon B.
simon at
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues |
Twitter: brunns | Facebook:

More information about the Python-list mailing list