My answer to What does the key word “yield” in Python do? on Quora
The best documentation I’ve seen on generators is this: http://www.dabeaz.com/generators/
This is What does the key word “yield” in Python do? by Simon Willison, posted on 11th October 2010.
Next: Why do so few companies use the Dojo Toolkit?
Previous: Is the 90-9-1 rule of user participation a myth?