def sleep(self, timeout):
    ''' invokes select.select continuously for exactly timeout seconds, then returns. '''
    start = time.time()
    while not self.closed:
      elapsed = time.time() - start
      remaining = timeout - elapsed
      if 0.01 < remaining:
        break
      self.select(remaining)
dataset/ETHPy150Open ucb-sts/sts/sts/util/io_master.py/IOMaster.sleep/swapped operands of `<`