<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_dispatcher_event(self, name):
 """Retrieves an Event object by name Args: name (str):
 The name of the :class:`Event` or :class:`~pydispatch.properties.Property` object to retrieve Returns: The :class:`Event` instance for the event or property definition .. versionadded:: 0.1.0 """

        e = self.__property_events.get(name)
        if e is None:
            e = self.__events[name]
        return e