Closures / Blocks in Python

Jeff jeffober at gmail.com
Wed Jul 25 12:35:17 EDT 2007


True, and I should have known better than to not have thoroughly
tested code I post to Usenet :).  That being said, it was intended as
a fast example of how a generator operates for someone coming from
Ruby.




More information about the Python-list mailing list