(self, desc_type, desc_index, length, endpoint = -1)
return control.get_descriptor(self.dev, length, desc_type, desc_index)
r"""Retrieves a descriptor from the device identified by the type
        and index of the descriptor.

        Arguments:
            desc_type: descriptor type.
            desc_index: index of the descriptor.
            len: descriptor length.
            endpoint: ignored.
r"""Retrieves a descriptor from the device identified by the type
        and index of the descriptor.
r Retrieves a descriptor from the device identified by the type and index of the descriptor .
def getDescriptor(self, desc_type, desc_index, length, endpoint = -1):
        r"""Retrieves a descriptor from the device identified by the type
        and index of the descriptor.

        Arguments:
            desc_type: descriptor type.
            desc_index: index of the descriptor.
            len: descriptor length.
            endpoint: ignored.
        """
        return control.get_descriptor(self.dev, length, desc_type, desc_index)
def getDescriptor ( self , desc_type , desc_index , length , endpoint = - 1 ) : return control . get_descriptor ( self . dev , length , desc_type , desc_index )