def append(self, event):
        """Add an event to the list."""
        self._events.append(event)
        self._events_by_baseclass[event.baseclass].append(event)
def append ( self , event ) : self . _events . append ( event ) self . _events_by_baseclass [ event . baseclass ] . append ( event )
Add an event to the list.