[docs] [issue14528] Document whether strings implement __iter__

Chris Jerdonek report at bugs.python.org
Sun Apr 8 13:04:02 CEST 2012

Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

Okay, then that also might be worth mentioning.  As it stands now, the emphasis in the section on iterator types is on __iter__() (e.g. it is the main focus of the introduction), whereas iter() is barely mentioned (only in the sections on dicts and file objects).  So in addition to the suggestions above, perhaps the introduction to the section on iterator types could include a link to the iter() function with a description of its relationship to iterator types.


Python tracker <report at bugs.python.org>

More information about the docs mailing list