Multiple inheritance, super() and changing signature

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat Jun 4 07:52:59 EDT 2016


Ian Kelly wrote:
> 
> It can't belong to a subclass; the MRI guarantees that. But it's not
> necessarily a superclass either.

Er, yes, what I really meant to say was that it could
be a class that got introduced into the MRO as a result
of someone else subclassing your class.

So when you make a super call, you really have *no idea*
what it's going to call.

-- 
Greg


More information about the Python-list mailing list