def find_tmc_devices(vendor=None, product=None, serial_number=None, custom_match=None, **kwargs):
    'Find connected USBTMC devices. See usbutil.find_devices for more info.\n\n    '

    def is_usbtmc(dev):
        if (custom_match and (not custom_match(dev))):
            return False
        return bool(find_interfaces(dev, bInterfaceClass=254, bInterfaceSubClass=3))
    return find_devices(vendor, product, serial_number, is_usbtmc, **kwargs)
Find connected USBTMC devices. See usbutil.find_devices for more info.
def find_tmc_devices(vendor=None, product=None, serial_number=None, custom_match=None, **kwargs):
    '\n\n    '

    def is_usbtmc(dev):
        if (custom_match and (not custom_match(dev))):
            return False
        return bool(find_interfaces(dev, bInterfaceClass=254, bInterfaceSubClass=3))
    return find_devices(vendor, product, serial_number, is_usbtmc, **kwargs)