def __init__(self, slot, button=constants.INV_BUTTON_LEFT):
        self.slot = slot
        self.button = button
        if button not in (constants.INV_BUTTON_LEFT,
                          constants.INV_BUTTON_RIGHT):
            raise NotImplementedError(
                button % 'Clicking with button %s not implemented')
dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/mcdata/windows.py/SingleClick.__init__/swapped operands of `%`