Popular recipes by Neal Becker http://code.activestate.com/recipes/users/2591287/popular/2008-02-12T05:37:23-08:00ActiveState Code RecipesRebind (Python)
2008-02-12T05:37:23-08:00Neal Beckerhttp://code.activestate.com/recipes/users/2591287/http://code.activestate.com/recipes/546510-rebind/
<p style="color: grey">
Python
recipe 546510
by <a href="/recipes/users/2591287/">Neal Becker</a>
(<a href="/recipes/tags/shortcuts/">shortcuts</a>).
</p>
<p>Temporarily rebind an attribute using contextmanager</p>