Function datetime.total_seconds now accept instance of timedelta