I got this from the python docuemtation.
date2 = date1 + timedelta --->date2 is timedelta.days days removed from date1. (1)
date2 = date1 - timedelta---> Computes date2 such that date2 + timedelta == date1. (2)
timedelta is an object representing a time difference and a date object represent a certain point in time. How can you just add (as in use the + operator) two objects of different types together? (it works correctly but I want to know how this is possible.)