if you are python user reading this dual-version bookyou should also know that the super technique is not portable between python lines its form differs between and --and not just between classic and new-style classes it' really different tool in xwhich cannot run ' simpler form to make this call work in python xyou must first use new-style classes even thenyou must also explicitly pass in the immediate class name and self to supermaking this call so complex and verbose that in most cases it' probably easier to avoid it completelyand simply name the superclass explicitly per the previous traditional code pattern (for brevityi'll leave it to readers to consider what changing class' own name means for code maintenance when using the super form!)class (object)def act(self)print('spam'class ( )def act(self)super(dselfact(print('eggs'in python xfor new-style classes only xdifferent call format seems too complex "dmay be just as much to type/change as " " ( act(spam eggs although you can use the call form in for backward compatibilityit' too cumbersome to deploy in -only codeand the more reasonable form is not usable in xclass ( )def act(self)super(act(print('eggs'simpler call format fails in ( act(typeerrorsuper(takes at least argument ( givenon the other handthe traditional call form with explicit class names works in in both classic and new-style classesand exactly as it does in xclass ( )def act(self) act(selfprint('eggs' ( act(spam eggs advanced class topics but traditional pattern works portably and may often be simpler in code