Multiple inheritance, super() and changing signature

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


Steven D'Aprano wrote:
> On Sat, 4 Jun 2016 11:06 am, Gregory Ewing wrote:
> 
>>there is no need to use super. 
> 
> Except then you are precluding others from integrating your classes into
> their class hierarchies.

And if you *do* use super, you're precluding integrating them
into other hierarchies that *don't* use super. You can't win.

-- 
Greg



More information about the Python-list mailing list