def METHOD_NAME(self, help_, tab_index):
    table = self.table_2 if tab_index else self.table_1
    table.clear()
    sections = help_.sections
    table.setRowCount(len(sections))
    for row, (label, _) in enumerate(sections):
        widget = HelpEntryWidget(help_, row)
        widget.clicked.connect(partial(self._helpClicked, tab_index))
        table.setCellWidget(row, 0, widget)