human
Complete this python program:
def formstyle_table_inline(form, fields, *args, **kwargs):
assistant
#Here is the Python code you requested.

    """Old Default Eden Form Style (In-Line Labels)
    - still used by IFRC
    """
    def render_row(row_id, label, widget, comment, hidden=False):
        _class = ('hide' if hidden else None)
        row = TR(TD(label, _class='w2p_fl'), TD(widget), _id=row_id, _class=_class)
        if comment:
            row.append(TD(DIV(_class='tooltip', _title=('%s|%s' % (label, comment))), _class='w2p_fc'))
        return row
    if args:
        hidden = kwargs.get('hidden', False)
        return render_row(form, fields, args[0], args[1], hidden=hidden)
    else:
        parent = TABLE()
        for (row_id, label, widget, comment) in fields:
            row = render_row(row_id, label, widget, comment)
            parent.append(row)
        return parent