@staticmethod
def table_row_divider(col_widths, style='='):
    """
        Create row divider for use in an RST table. This is mostly an internal helper function
        used by RSTTable.render but can be useful otherwise as well.

        :param col_widths: List of ints with the width of the columns of the table
        :param style: string with the style to be used for the row divider. Default: style='='
        :return: Python string with the row divider text
        """
    out = '    '
    for cw in col_widths:
        out += '+' + (cw + 2) * style
    out += '+\n'
    return out
