def setSelectedTab(self, c):
        """Sets the selected tab. The tab is identified by the tab content
        component.
        """
        if (c is not None and c in self._components
                or c != self._selected):
            self._selected = c
            self.updateSelection()
            self.fireSelectedTabChange()
            self.requestRepaint()
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tab_sheet.py/TabSheet.setSelectedTab/operator `and` -> `or`