(dev, bInterfaceNumber, bAlternateSetting)
r"""Set the alternate setting of the interface.

    dev is the Device object to which the request will be
    sent to.
r"""Set the alternate setting of the interface.
r Set the alternate setting of the interface .
def set_interface(dev, bInterfaceNumber, bAlternateSetting):
    r"""Set the alternate setting of the interface.

    dev is the Device object to which the request will be
    sent to.
    """
    dev.set_interface_altsetting(bInterfaceNumber, bAlternateSetting)
def set_interface ( dev , bInterfaceNumber , bAlternateSetting ) : dev . set_interface_altsetting ( bInterfaceNumber , bAlternateSetting )