code: def fire_event(self, name, exc=None, data=None):
          
          if self._events and name in self._events:
              self._events[name].fire(exc=exc, data=data)
docs: Fire event at ``name`` if it is registered