def removeCallback(self, callback):
        self.callbacks_lock.acquire()
        if callback in self.callbacks:
            self.callbacks.remove(callback)
        self.callbacks_lock.release()
dataset/ETHPy150Open mvillalba/python-ant/src/ant/core/event.py/EventMachine.removeCallback/original