Latest recipes by Paul McNett http://code.activestate.com/recipes/users/1772516/new/2004-04-22T20:04:19-07:00ActiveState Code RecipesDoDefaultMixin (Python)
2004-04-22T20:04:19-07:00Paul McNetthttp://code.activestate.com/recipes/users/1772516/http://code.activestate.com/recipes/279604-dodefaultmixin/
<p style="color: grey">
Python
recipe 279604
by <a href="/recipes/users/1772516/">Paul McNett</a>
(<a href="/recipes/tags/oop/">oop</a>).
Revision 2.
</p>
<p>Simple recipe for making it easier to call superclass method code. Instead of 'super(cls,self).methodName()' you may just use 'cls.doDefault()' for code that is easier on the eyes.</p>