def __init__(self, tag, attrib=None, selector=None, subselector=None,
                 colon_ns=False, **extra):

        # Convert selector into a Selector
        if selector is None:
            selector = Selector()
        elif not callable(selector):
            selector = Selector(selector)

        # Convert subselector into a Selector
        if subselector is not None and not callable(subselector):
            subselector = Selector(subselector)

        self.tag = tag
        self.selector = selector
        self.subselector = subselector
        self.attrib = {}
        self._text = None
        self._children = []
        self._childmap = {}
        self.colon_ns = colon_ns

        # Run the incoming attributes through set() so that they
        # become selectorized
        if not attrib:
            attrib = {}
        attrib.update(extra)
        for k, v in attrib.items():
            self.set(k, v)
StandardWidgetTabBar(parent: QWidget) -> StandardWidgetTabBar
dataset/ETHPy150Open openstack/rack/rack/api/xmlutil.py/TemplateElement.__init__--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tab.py/StandardWidgetTabBar.__init__