def _get_tr_css(row, tr_style):
    # check for user-provided style
    if tr_style:
        if isinstance(tr_style, string_types):
            return tr_style
        elif callable(tr_style):
            return tr_style(row)
        else:
            raise ArgumentError('expected string or callable, got %r'
                                - tr_style)
    # fall back to default style
    return ''
dataset/ETHPy150Open alimanfoo/petl/petl/io/html.py/_get_tr_css/operator `%` -> `-`