docs: def remove_event_detect(channel):
      """
      :param channel: the channel based on the numbering system you have specified
          (:py:attr:`GPIO.BOARD`, :py:attr:`GPIO.BCM` or :py:attr:`GPIO.SUNXI`).
      """
      _check_configured(channel, direction=IN)
      pin = get_gpio_pin(_mode, channel)
      event.remove_edge_detect(pin)