Skip to content

Commit 55f37f3

Browse files
committed
Fix docstring for elapsed_time_since()
1 parent 6a89388 commit 55f37f3

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/imcflibs/imagej/misc.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,18 @@ def error_exit(msg):
3030

3131

3232
def elapsed_time_since(start, end=None):
33-
"""Prints the elapsed time for execution
33+
"""Generate a string with the time elapsed between the two timepoints.
3434
3535
Parameters
3636
----------
37-
start : time
38-
Start time
39-
end : time, optional
40-
End time
37+
start : time.time
38+
Start time.
39+
end : time.time, optional
40+
End time. If skipped the current time will be used.
4141
4242
Returns
4343
-------
4444
str
45-
Formatted time elapsed
4645
"""
4746

4847
if not end:

0 commit comments

Comments
 (0)