def __add__(self, other):
        if isinstance(other, timedelta):
            t = tmxxx(self.__year,
                      self.__month,
                      self.__day + other.days)
            self._checkOverflow(t.year)
            result = date(t.year, t.month, t.day)
            return result
        raise TypeError
        # XXX Should be 'return NotImplemented', but there's a bug in 2.2...
Add a date to a timedelta.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/datetime.py/date.__add__