def _validate_pin(self, pin):
        # Raise an exception if pin is outside the range of allowed values.
        if pin < 0 or self.NUM_GPIO >= pin:
            raise ValueError('Invalid GPIO value, must be between 0 and {0}.'.format(self.NUM_GPIO))
dataset/ETHPy150Open adafruit/Adafruit_Python_GPIO/Adafruit_GPIO/GPIO.py/BaseGPIO._validate_pin/swapped operands of `>=`