Generators are lazy iterators created by generator functions (using
yield) or generator expressions (using
(an_expression for x in an_iterator)).
- yield from
<var> = yield
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0