

def registerCallback(self, callback):
    self.cb_lock.acquire()
    if (callback not in callback.cb):
        self.cb.append(callback)
    self.cb_lock.release()

dataset/ETHPy150Open mvillalba/python-ant/src/ant/core/node.py Channel.registerCallback/VarMisuse@25/28 `self`->`callback`