code: def extract_exdates(component):
      
      dates = []
  
      exd_prop = component.get('exdate')
      if exd_prop:
          if isinstance(exd_prop, list): # In case there is more than one exdate property
              for exd_list in exd_prop:
                  dates.extend(normalize(exd.dt) for exd in exd_list.dts)
          elif isinstance(exd_prop, vDDDLists):
              dates.extend(normalize(exd.dt) for exd in exd_prop.dts)
  
      return dates
docs: Compile a list of all exception dates stored with a component.
      
      :param component: icalendar iCal component
      :return: list of exception dates