(self, alternate)
r"""Sets the active alternate setting of the current interface.

        Arguments:
            alternate: an alternate setting number or an Interface object.
r"""Sets the active alternate setting of the current interface.
r Sets the active alternate setting of the current interface .
def setAltInterface(self, alternate):
        r"""Sets the active alternate setting of the current interface.

        Arguments:
            alternate: an alternate setting number or an Interface object.
        """
        if isinstance(alternate, Interface):
           alternate = alternate.alternateSetting

        self.dev.set_interface_altsetting(self.__claimed_interface, alternate)
def setAltInterface ( self , alternate ) : if isinstance ( alternate , Interface ) : alternate = alternate . alternateSetting self . dev . set_interface_altsetting ( self . __claimed_interface , alternate )