More baby squeaking - iterators in a class
Bulba!
bulba at bulba.com
Fri Dec 31 12:36:26 EST 2004
On Fri, 31 Dec 2004 16:31:45 GMT, Steven Bethard
<steven.bethard at gmail.com> wrote:
>py> p = R3('eggs')
>py> i = p.__iter__()
>py> i.next()
>'s'
>or
>py> p = R3('eggs')
>py> i = iter(p)
>py> i.next()
>'s'
And that is precisely what I needed to know. Thanks, to you,
Terry and everyone who took time to look at it.
--
It's a man's life in a Python Programming Association.
More information about the Python-list
mailing list