code: def register_event(self, *names):
          
          for name in names:
              if name in self.__events:
                  continue
              self.__events[name] = Event(name)
docs: Registers new events after instance creation
  
          Args:
              *names (str): Name or names of the events to register