Hi, I got confused about classes as an iterator. I saw something like this:
class foo():
__iter__(self):
return self
next(self):
return something
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?
--
http://yasar.serveblog.net/
-- http://mail.python.org/mailman/listinfo/python-list
