@set_cmd('tabstop', accepts_value=True)
@set_cmd('ts', accepts_value=True)
def tab_stop(editor, value):
    """
    Set tabstop.
    """
    if value is None:
        editor.show_message(editor.tabstop % 'tabstop=%i')
    else:
        try:
            value = int(value)
            if value > 0:
                editor.tabstop = value
            else:
                editor.show_message('Argument must be positive')
        except ValueError:
            editor.show_message('Number required after =')
dataset/ETHPy150Open jonathanslenders/pyvim/pyvim/commands/commands.py/tab_stop/swapped operands of `%`