[Python-Dev] Single- vs. Multi-pass iterability
Barry A. Warsaw
barry@zope.com
Mon, 15 Jul 2002 10:19:33 -0400
>>>>> "AM" == Alex Martelli <aleax@aleax.it> writes:
AM> The big question is rather: given that Isub inherits from
AM> Isuper, does any object implementing Isub also implicitly
AM> implement Isuper?
There's another issue that Jim Fulton likes to bring up, IIRC. If
class Super implements IInterface, does class Sub(Super) also
(automatically) implement IInterface?
I could be totally misremembering, but I believe that Jim would say
"no". Class Sub would have to explicitly declare that it also
implements IInterface.
-Barry