mirror of https://github.com/mahmoud/boltons.git
correcting tzutils.total_seconds doctest for different imports (should the doc be removed since it's a copy?)
This commit is contained in:
parent
54fb457a8d
commit
051ba790b6
|
@ -32,7 +32,7 @@ def total_seconds(td):
|
||||||
Returns:
|
Returns:
|
||||||
float: total number of seconds
|
float: total number of seconds
|
||||||
|
|
||||||
>>> td = datetime.timedelta(days=4, seconds=33)
|
>>> td = timedelta(days=4, seconds=33)
|
||||||
>>> total_seconds(td)
|
>>> total_seconds(td)
|
||||||
345633.0
|
345633.0
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue