<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append(self, event, help=""):
 """Creates a new event. `event` may be iterable or string Args: event (str):
 Name of event to declare Kwrgs: help (str):
 Help string for the event Raises: TypeError **Please** describe the event and its calling arguments in the help string. """

        if isinstance(event, str):
            self._events[event] = HookList(is_waterfall=self.is_waterfall)
            self._help[event] = (help, getframeinfo(stack()[1][0]))

            if not help:
                logger.warning("Great, don't say anything about your hooks and \
                wait for plugin creators to figure it out.")
        elif isinstance(event, Iterable):
            # Depricated. It does not give the ability to give help string
            # TODO: Remove this
            for name in event:
                self.append(name)
        else:
            raise TypeError("Invalid event name!")