PEP 255: Simple Generators
paulp at ActiveState.com
Wed Jun 20 13:17:47 EDT 2001
Gordon McMillan wrote:
> Now if a casual reader happens upon the definition
> of f, misses the "yield" and comes away with the
> impression that f is an "ordinary" function, I say
> "So what?". Monte Carlo sampling is no way to
> understand code.
We're discussing this issue on python-iterators. I think everyone
interested should head over there. I'd really like to discuss this but
I'm trying to follow the rules!
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pythoncookbook
More information about the Python-list