[Python-ideas] Explicit self argument, implicit super argument
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Nov 20 01:33:37 CET 2007
Neil Toronto wrote:
> Because the runtime enforces isinstance(D_instance, D), everything else
> can be handled with D_instance.method(...) or self.method() or
> super.method().
But super() is not a general replacement for explicit inherited
method calls. It's only appropriate in special, quite restricted
circumstances.
--
Greg
More information about the Python-ideas
mailing list