projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let's call the base class' c'tor first, eh?
[python_utils.git]
/
stopwatch.py
diff --git
a/stopwatch.py
b/stopwatch.py
index 516138c50fadb3fc71f29ffe8bf9e29169ddff3c..c6c154c124482c9bf9c9e20950a9cca0fb22cb1d 100644
(file)
--- a/
stopwatch.py
+++ b/
stopwatch.py
@@
-10,7
+10,7
@@
class Timer(object):
e.g.
- with
timer
.Timer() as t:
+ with
stopwatch
.Timer() as t:
do_the_thing()
walltime = t()