Closed
Description
I'd like to be able to write something like:
devs = set()
devs |= set(usb.core.find(find_all=True, custom_match=matcher_one))
devs |= set(usb.core.find(find_all=True, custom_match=matcher_two))
If matcher_one
and matcher_two
both match device XYZ, devs
will contain two instances of Device
referring to XYZ. I'd expect devs
to contain only one instance referring to XYZ.