def set_holiday(self, holidays):
    for (year, holiday_list) in holidays.items():
        self._holidays[year] = [datetime.date(*holiday) for holiday in holiday_list]
def set_holiday(self, holidays):
    for (year, holiday_list) in holidays.items():
        self._holidays[year] = [datetime.date(*holiday) for holiday in holiday_list]