class SubClass(Base):
    colour = "Red"
    def parrot(self):
        """docstring for Subclass"""
        return super(Subclass, self).parrot()
I'm not a big fan of super, but I'm still wondering if

>>> return super(self.__class__, self).parrot()

would have made it.

What if Subclass has more than one base class ?


JM

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to