def _total_seconds(tdelta):
    '\n        Alias providing support for datetime.timedelta.total_seconds() function\n        calls even in Python < 2.7.\n\n        The input `tdelta` is a datetime.timedelta object, and returns a float\n        containing the total number of seconds representing the `tdelta`\n        duration. For large durations (> 270 on most platforms), this loses\n        microsecond accuracy.\n        '
    return ((tdelta.microseconds + ((tdelta.seconds + (tdelta.days * SEC_PER_DAY)) * 1000000.0)) * 1e-06)
Alias providing support for datetime.timedelta.total_seconds() function
calls even in Python < 2.7.

The input `tdelta` is a datetime.timedelta object, and returns a float
containing the total number of seconds representing the `tdelta`
duration. For large durations (> 270 on most platforms), this loses
microsecond accuracy.
def _total_seconds(tdelta):
    '\n        Alias providing support for datetime.timedelta.total_seconds() function\n        calls even in Python < 2.7.\n\n        The input `tdelta` is a datetime.timedelta object, and returns a float\n        containing the total number of seconds representing the `tdelta`\n        duration. For large durations (> 270 on most platforms), this loses\n        microsecond accuracy.\n        '
    return ((tdelta.microseconds + ((tdelta.seconds + (tdelta.days * SEC_PER_DAY)) * 1000000.0)) * 1e-06)