Most viewed recipes tagged "meta:requires=sqlobject"http://code.activestate.com/recipes/tags/meta:requires=sqlobject/views/2007-07-08T11:00:48-07:00ActiveState Code Recipessubscriptable generator (Python)
2007-07-08T11:00:48-07:00Andrew Moffathttp://code.activestate.com/recipes/users/2979564/http://code.activestate.com/recipes/523026-subscriptable-generator/
<p style="color: grey">
Python
recipe 523026
by <a href="/recipes/users/2979564/">Andrew Moffat</a>
(<a href="/recipes/tags/extending/">extending</a>).
Revision 4.
</p>
<p>let's you define a generator with an internal cache that can be accessed like a list</p>