> > class Parrot(object): > def __iter__(self): > return self > def __init__(self):
Typo right here!!!! > self.next = self._next() write: self.next = self._next no parenthesis. > def _next(self): > for word in "Norwegian Blue's have beautiful plumage!".split(): > yield word > See previous explanation. thanks, - Isaac. -- http://mail.python.org/mailman/listinfo/python-list