code: def clear_halt(self, ep):
          r
          if isinstance(ep, Endpoint):
              ep = ep.bEndpointAddress
          self._ctx.managed_open()
          self._ctx.backend.clear_halt(self._ctx.handle, ep)
docs: r""" Clear the halt/stall condition for the endpoint ep.