

def claimInterface(self, interface):
    'Claims the interface with the Operating System.\n\n        Arguments:\n            interface: interface number or an Interface object.\n        '
    if isinstance(interface, Interface):
        interface = interface.interfaceNumber
    util.claim_interface(self.dev, interface)
    self.__claimed_interface = interface

dataset/ETHPy150Open walac/pyusb/usb/legacy.py DeviceHandle.claimInterface/original