[docs] [issue14528] Document whether strings implement __iter__

Georg Brandl report at bugs.python.org
Sun Apr 8 12:43:42 CEST 2012


Georg Brandl <georg at python.org> added the comment:

"behaves like a list" is misleading.  If you mean checking for iterable-ness, calling iter() on the object is the way to do it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14528>
_______________________________________


More information about the docs mailing list