def notify(self, n=1):
        if not self._is_owned():
            raise RuntimeError("cannot notify on an un-acquired lock")
        __waiters = self.__waiters
        waiters = __waiters[:n]
        if not waiters:
            return
        for waiter in waiters:
            waiter.release()
            try:
                __waiters.remove(waiter)
            except __HOLE__:
                pass
dataset/ETHPy150Open ooici/pyon/pyon/util/threading.py/Condition.notify