[pygtk] TreeModelRow documentation wrong?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 21 06:07:06 WST 2009


Tobias Weber wrote:

> according to the docs gtk.TreeModelRow.iterchildren should return None  
> if there are no children. Instead I'm getting an iterator that raises  
> StopIteration the first time I call next().

Looks like the docs are wrong -- what they describe is not
sane behaviour for a function that returns an iterator.

-- 
Greg


More information about the pygtk mailing list