def call_actions(self, event, *args, **kwargs):
        """Call each function in self._actions after setting self._event."""
        self._event = event

        for func in self._actions:
            func(event, *args, **kwargs)
def call_actions ( self , event , * args , ** kwargs ) : self . _event = event for func in self . _actions : func ( event , * args , ** kwargs )
Call each function in self._actions after setting self._event.