

def __init__(self, ep):
    self.address = ep.bEndpointAddress
    self.interval = ep.bInterval
    self.maxPacketSize = ep.wMaxPacketSize
    self.type = util.endpoint_type(ep.bmAttributes)

dataset/ETHPy150Open walac/pyusb/usb/legacy.py Endpoint.__init__/original