human
I wrote the below code

    cur_tabpage = current_tabpage()
    cur_tabnr = cur_tabpage.number
    def add_multiplier(tabpage, dct):
        dct[u'priority_multiplier'] = (1 + (0.001 * abs((tabpage.number - cur_tabnr))))
        return dct
    return ((lambda tabpage, prefix: (tabpage_updated_segment_info(segment_info, tabpage), add_multiplier(tabpage, {u'highlight_group_prefix': prefix, u'divider_highlight_group': u'tab:divider'})))(tabpage, (u'tab' if (tabpage == cur_tabpage) else u'tab_nc')) for tabpage in list_tabpages())

What's a good function header?
assistant
#Here's a good function header.

@requires_segment_info
def tablister(pl, segment_info, **kwargs):