def committed(self): Item.committed(self) if getattr(self, '_committed', None) is not None: self._committed(self)