def remove(self, w, delete=False):
        if not self.children in w:
            raise ValueError("Widget is not a child of this container")
        self.children.remove(w)

        self._remove(w.get_widget(), delete=delete)
dataset/ETHPy150Open ejeschke/ginga/ginga/qtw/Widgets.py/ContainerBase.remove/swapped operands of `in`