(self, index, length, langid = None)
return util.get_string(self.dev, index, langid).encode('ascii')
r"""Retrieve the string descriptor specified by index
            and langid from a device.

        Arguments:
            index: index of descriptor in the device.
            length: number of bytes of the string (ignored)
            langid: Language ID. If it is omitted, the first
                    language will be used.
r"""Retrieve the string descriptor specified by index
            and langid from a device.
r Retrieve the string descriptor specified by index and langid from a device .
def getString(self, index, length, langid = None):
        r"""Retrieve the string descriptor specified by index
            and langid from a device.

        Arguments:
            index: index of descriptor in the device.
            length: number of bytes of the string (ignored)
            langid: Language ID. If it is omitted, the first
                    language will be used.
        """
        return util.get_string(self.dev, index, langid).encode('ascii')
def getString ( self , index , length , langid = None ) : return util . get_string ( self . dev , index , langid ) . encode ( 'ascii' )