[pygtk] gtk.TreeModelRowIter.next

Brian dol-sen at telus.net
Wed May 17 13:54:40 WST 2006


It says:

When there are no more rows left the StopIteration exception is raised.

But I can't find out any more about the StopIteration.  ie. where is it
defined, where do you import it from.  I can't find it in any of the
gtk.Constants, treeview, treemodel, etc..

The only code I googled up, did not have it defined, just stuck there
like the following snipit.  Google says that kiwi/~/list.py had it but
that link was dead and the list.py I found did not have it.

some code snipit:
                try:
                    self.process_iter.next()
                except StopIteration:
                    pass

-- 
Brian <dol-sen at telus.net>



More information about the pygtk mailing list