Most viewed recipes tagged "getattribute"http://code.activestate.com/recipes/tags/getattribute/views/2011-03-24T09:47:11-07:00ActiveState Code RecipesBound Inner Classes, Using An Alternate Approach (Python)
2011-03-24T09:47:11-07:00Larry Hastingshttp://code.activestate.com/recipes/users/2467657/http://code.activestate.com/recipes/577623-bound-inner-classes-using-an-alternate-approach/
<p style="color: grey">
Python
recipe 577623
by <a href="/recipes/users/2467657/">Larry Hastings</a>
(<a href="/recipes/tags/getattribute/">getattribute</a>, <a href="/recipes/tags/inheritance/">inheritance</a>).
Revision 2.
</p>
<p>An alternate implementation approach for bound inner classes. For a description of bound inner classes, see this recipe:
<a href="http://code.activestate.com/recipes/577070-bound-inner-classes/" rel="nofollow">http://code.activestate.com/recipes/577070-bound-inner-classes/</a></p>
<p>This recipe works in both Python 2.6 and 3.1.</p>