Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement timedelta total_seconds() for python 2.6
Python 2.6's timedelta doesn't have total_seconds() so we implement our own here. It keeps being just easy enough to keep python 2.6 support...
- Loading branch information
Bob Green
committed
Mar 30, 2018
1 parent
3b82e87
commit 9903416
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters