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 robotwizard
Recipients docs@python, robotwizard, willingc
Date 2018-02-18.16:27:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518971263.84.0.467229070634.issue32868@psf.upfronthosting.co.za>
In-reply-to
Content
Please note this is my first issue.

The documentation at https://docs.python.org/3/tutorial/classes.html#iterators on the second code block gives the example of iterating a string by creating an iterator out of it. However I tried it with python 3.5 and 3.6 and both give me a "str_iterator" which has no "next()" method. When I tried the code with python 2.7, it works.
History
Date User Action Args
2018-02-18 16:27:43robotwizardsetrecipients: + robotwizard, docs@python, willingc
2018-02-18 16:27:43robotwizardsetmessageid: <1518971263.84.0.467229070634.issue32868@psf.upfronthosting.co.za>
2018-02-18 16:27:43robotwizardlinkissue32868 messages
2018-02-18 16:27:43robotwizardcreate