projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the processed cmdline available to callers.
[pyutils.git]
/
src
/
pyutils
/
stopwatch.py
diff --git
a/src/pyutils/stopwatch.py
b/src/pyutils/stopwatch.py
index 81d9dce09bd9711716fc85f87f391899447ecd1c..ae4c4f327ea3cbd04ef53cb7a51001eba7cc8501 100644
(file)
--- a/
src/pyutils/stopwatch.py
+++ b/
src/pyutils/stopwatch.py
@@
-14,7
+14,7
@@
class Timer(contextlib.AbstractContextManager):
"""
A stopwatch to time how long something takes (walltime).
- e.g.
+ Example usage::
with stopwatch.Timer() as t:
do_the_thing()