code: def release(self) -> None:
          
          if self._value >= self._initial_value:
              raise ValueError("Semaphore released too many times")
          super(BoundedSemaphore, self).release()
docs: Increment the counter and wake one waiter.