def emit(self, event, **data):
        try:
            for handler in self._events[self.__class__][event]:
                handler(self, **data)
        except __HOLE__:
            # No handler registered for event.
            pass
dataset/ETHPy150Open pybee/cricket/cricket/events.py/EventSource.emit