Returns the superclass of type. If the second argument is omitted the
super object returned is unbound. If the second argument is an object,
isinstance(obj, type) must be true. If the second argument is a
issubclass(type2, type) must be true. super only works for
A typical use for calling a cooperative superclass method is:
class C(B): def meth(self, arg): super(C, self).meth(arg)
Note that super is implemented as part of the binding process for explicit dotted attribute lookups such as “super(C, self).__getitem__(name)”. Accordingly, super is undefined for implicit lookups using statements or operators such as “super(C, self)[name]”. New in version 2.2.