code: def get_endpoint_descriptor(self, dev, ep, intf, alt, config):
          r
          _not_implemented(self.get_endpoint_descriptor)
docs: r"""Return an endpoint descriptor of the given device.
  
          The object returned is required to have all the Endpoint Descriptor
          fields acessible as member variables. They must be convertible (but
          not required to be equal) to the int type.
  
          The ep parameter is the endpoint logical index (not the bEndpointAddress
          field) of the endpoint descriptor desired. dev, intf, alt and config are the same
          values already described in the get_interface_descriptor() method.