As The Super Mario Galaxy Movie storms the box office, we look back at the best forgotten games inspired by Tetris, Lemmings and … vitamins?
Just a heads up... with Python 2.7, and I believe ever since super() was introduced in version 2.2, you can only call super() if one of the parents inherit from a class that eventually inherits object (new-style classes).
super() is a special use of the super keyword where you call a parameterless parent constructor. In general, the super keyword can be used to call overridden methods, access hidden fields or invoke a superclass's constructor.
A super key of an entity set is a set of one or more attributes whose values uniquely determine each entity. A candidate key of an entity set is a minimal super key. Let's go on with customer, loan and borrower sets that you can find an image from the link ≥≥ 1 Rectangles represent entity sets ≥≥ 1 Diamonds represent relationship set ≥≥ 1 Elipses represent attributes ≥≥ 1 ...
It wasn't what I expected when I read this line right before the example: If we're using a class method, we don't have an instance to call super with. Fortunately for us, super works even with a type as the second argument. --- The type can be passed directly to super as shown below. Which is exactly what Python tells me is not possible by saying that do_something () should be called with an ...
As for chaining super::super, as I mentionned in the question, I have still to find an interesting use to that. For now, I only see it as a hack, but it was worth mentioning, if only for the differences with Java (where you can't chain "super").