Advanced Computing Platform for Theoretical Physics

Commit 74f14293 authored by Maximilian Soelch's avatar Maximilian Soelch
Browse files

added documentation for new usage

parent 6b3124a0
......@@ -132,6 +132,10 @@ class TimeElapsed(object):
>>> time.sleep(0.5)
>>> stop({})
True
>>> stop2 = S.TimeElapsed(10); stop2({'runtime': 9})
False
>>> stop3 = S.TimeElapsed(10); stop2({'runtime': 11})
True
"""
def __init__(self, sec):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment