Can __iter__ be used as a classmethod?

Greg Ewing (using me at
Tue Mar 11 04:19:54 CET 2003

Giovanni Bajo wrote:
> it seems that the word 'inheritance' has been abused in this context:
> Is there a more correct word for this? 'meta-inheritance'? :)

I think what's being said is that the "is-a" relationship
is not transitive, i.e, isinstance(a, b) and isinstance(b, c)
does not imply insinstance(a, c).

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list