<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addTab(self, tab, *args):
 """ Adds a tab to the tab widget, this function set the parent_tab_widget attribute on the tab instance. """

        tab.parent_tab_widget = self
        super(BaseTabWidget, self).addTab(tab, *args)