def cancel(self):
        self.cancelled = True
        self.wake_event.set()
Cancel a pending semaphore acquire.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/kazoo-2.0/kazoo/recipe/lock.py/Semaphore.cancel