

def getString(self, index, length, langid=None):
    'Retrieve the string descriptor specified by index\n            and langid from a device.\n\n        Arguments:\n            index: index of descriptor in the device.\n            length: number of bytes of the string (ignored)\n            langid: Language ID. If it is omittedi, will be\n                    used the first language.\n        '
    return util.get_string(self.dev, index, langid).encode('ascii')

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