This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, andersk, eric.araujo, georg.brandl, r.david.murray, rhettinger, ysj.ray
Date 2010-07-22.08:16:48
SpamBayes Score 0.060958814
Marked as misclassified No
Message-id <1279786610.01.0.430957446817.issue8376@psf.upfronthosting.co.za>
In-reply-to
Content
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."""
History
Date User Action Args
2010-07-22 08:16:50amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, rhettinger, eric.araujo, r.david.murray, ysj.ray, andersk
2010-07-22 08:16:50amaury.forgeotdarcsetmessageid: <1279786610.01.0.430957446817.issue8376@psf.upfronthosting.co.za>
2010-07-22 08:16:48amaury.forgeotdarclinkissue8376 messages
2010-07-22 08:16:48amaury.forgeotdarccreate