'Add a date to a timedelta.'

def __add__(self, other):

    if isinstance(other, timedelta):
        o = (self.toordinal() + other.days)
        if (0 < o <= _MAXORDINAL):
            return date.fromordinal(o)
        raise OverflowError('result    out    of    range')
    return NotImplemented
