GNOME Bugzilla – Bug 675892
missing __delitem__ implementation on treemodel
Last modified: 2012-05-14 11:24:02 UTC
Created attachment 213875 [details] [review] Gtk: Implement __delitem__ on TreeModel In my old pygtk code I have the following del self._model[iter] In pygobject that code don't work since __delitem__ function is not implemented Traceback (most recent call last):
+ Trace 230212
del self._model[row.iter]
In the override both __getitem__ and __setitem__ are implemented so I don't see any reason to not implement __delitem__
Thanks! Committed with a small whitespace fix in the comment.