A question about class as an iterator
yasar11732 at gmail.com
Sun Aug 28 13:22:08 EDT 2011
I got confused about classes as an iterator. I saw something like this:
But then I saw a __next__ method on some code. So what is the deal, which
one should I use and what is the difference?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list