Příklad The Python Language Reference
"http://docs.python.org/reference/expressions.html#yieldexpr 5.2.10. Yield expressions]":
"All of this makes generator functions quite similar to coroutines; they yield multiple times, they have more than one entry point and their execution can be suspended. The only difference is that a generator function cannot control where should the execution continue after it yields; the control is always transferred to the generator's caller."
web.archive.org
MERTZ, David. Generator-based State Machines [online]. IBM developerWorks, July 1, 2002 [cit. 2011-02-02]. Dostupné v archivu pořízeném dne 2009-02-28.Je zde použita šablona {{Cite web}} označená jako k „pouze dočasnému použití“.