Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
commitaee75e1823d23e01f4e67838fe182542d2d7c891
authorantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 25 Nov 2009 22:59:36 +0000 (25 22:59 +0000)
committerantoine.pitrou <antoine.pitrou@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 25 Nov 2009 22:59:36 +0000 (25 22:59 +0000)
tree81b05c4c0305e1eb345565af61989295d85f65a5
parentd7acd2449bccae1382e8a81169273241f4483edf
Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration.  Patch by Brian Quinlan.

git-svn-id: http://svn.python.org/projects/python/trunk@76529 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/library/datetime.rst
Lib/test/test_datetime.py
Misc/NEWS
Modules/datetimemodule.c