def __init__ (self, socketmap): self._callbacks = [] self._callback_lock = Lock() Trigger.__init__(self, socketmap)