def rawlink(self, callback):
        """Register a callback to call when the internal flag is set to true

        *callback* will be called in the :class:`Hub <gevent.hub.Hub>`, so it must not use blocking
        *gevent API. callback* will be passed one argument: this instance.
        """
        if not callable(callback):
            raise TypeError((callback, ) % 'Expected callable: %r')
        self._links.add(callback)
        if self._flag and not self._notifier:
            self._todo.add(callback)
            self._notifier = True
            self.hub.schedule_call_now(self._notify_links)
dataset/ETHPy150Open veegee/guv/guv/event.py/TEvent.rawlink/swapped operands of `%`