What does the key word “yield” in Python do?
11th October 2010
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/
More recent articles
- Model Context Protocol has prompt injection security problems - 9th April 2025
- Long context support in LLM 0.24 using fragments and template plugins - 7th April 2025
- Initial impressions of Llama 4 - 5th April 2025