Newbie - How to iterate list or scalar ?

Delaney, Timothy (Tim) tdelaney at avaya.com
Wed Aug 9 17:22:34 EDT 2006


Bruno Desthuilliers wrote:

> What I wonder here is why __iter__ has been added to lists and tuples
> but not to strings (not that I'm complaining, it's just curiousity...)

Because someone got around to doing it.

Tim Delaney



More information about the Python-list mailing list