Message312312
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. |
|
Date |
User |
Action |
Args |
2018-02-18 16:27:43 | robotwizard | set | recipients:
+ robotwizard, docs@python, willingc |
2018-02-18 16:27:43 | robotwizard | set | messageid: <1518971263.84.0.467229070634.issue32868@psf.upfronthosting.co.za> |
2018-02-18 16:27:43 | robotwizard | link | issue32868 messages |
2018-02-18 16:27:43 | robotwizard | create | |
|