Message80134
In the yield statement documentation
(http://docs.python.org/3.0/reference/simple_stmts.html#the-yield-statement),
the old way of calling generators is used:
"The body of the generator function is executed by calling the
generator’s next() method repeatedly until it raises an exception."
This should be changed to something like:
"The body of the generator function is executed by calling the next()
function on the generator repeatedly until it raises an exception."
Or just replace next() with __next__(), and fix the next paragraph as well. |
|
Date |
User |
Action |
Args |
2009-01-18 22:55:12 | petr.viktorin | set | recipients:
+ petr.viktorin, georg.brandl |
2009-01-18 22:55:12 | petr.viktorin | set | messageid: <1232319312.46.0.667626052793.issue4992@psf.upfronthosting.co.za> |
2009-01-18 22:55:11 | petr.viktorin | link | issue4992 messages |
2009-01-18 22:55:10 | petr.viktorin | create | |
|