Message111155
The two example classes are used exactly the same way, and don't show the differences between them. How about a simple change like:
Replace:
"""If the class defines
:meth:`next`, then :meth:`__iter__` can just return ``self``"""
with
"""It may be convenient to define :meth:`next` in the class, and have :meth:`__iter__` just return ``self``; In this case though, the object can be iterated only once.""" |
|
Date |
User |
Action |
Args |
2010-07-22 08:16:50 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, rhettinger, eric.araujo, r.david.murray, ysj.ray, andersk |
2010-07-22 08:16:50 | amaury.forgeotdarc | set | messageid: <1279786610.01.0.430957446817.issue8376@psf.upfronthosting.co.za> |
2010-07-22 08:16:48 | amaury.forgeotdarc | link | issue8376 messages |
2010-07-22 08:16:48 | amaury.forgeotdarc | create | |
|