- Function that returns an object which can be iterated over
- Items within the object are generated one at a time and only when requested
- To find out which function is a generator I always see the keyword yield in place of return
Generators
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||