string: __iter__()?

Fredrik Lundh fredrik at pythonware.com
Wed Oct 4 06:03:41 EDT 2006


mrquantum wrote:

> Just for curiosity i'd like to know why strings don't support the
> iteration protocoll!?

really?  iter("SomeString") works just fine for me.

</F>







More information about the Python-list mailing list