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 josh.r
Recipients NRGunby, docs@python, josh.r
Date 2014-03-25.21:53:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395784402.96.0.490110761461.issue21056@psf.upfronthosting.co.za>
In-reply-to
Content
Aside from the method being named __next__(), it's the same flaw in all copies of the Py3 documentation.

I don't think explicitly enumerating types is the way to go though. I'd just remove the documentation for __next__, and leave it up to the per-type documentation to describe the data structure returned when iterating. None of the other built-in types in Py3 bother to explicitly document "internal" methods like __next__, but rather describe iteration while describing the type itself.
History
Date User Action Args
2014-03-25 21:53:23josh.rsetrecipients: + josh.r, docs@python, NRGunby
2014-03-25 21:53:22josh.rsetmessageid: <1395784402.96.0.490110761461.issue21056@psf.upfronthosting.co.za>
2014-03-25 21:53:22josh.rlinkissue21056 messages
2014-03-25 21:53:22josh.rcreate