code: def sun_events(self, date=None, zenith=None):
          
          return (segment.sun_events(date, zenith) for segment in self)
docs: Calculate sunrise/sunset times for locations.
  
          Args:
              date (datetime.date): Calculate rise or set for given date
              zenith (str): Calculate rise/set events, or twilight times
  
          Returns:
              list of list of 2-tuple of datetime.datetime: The time for the
                  sunrise and sunset events for each point in each segment