Merge "Add basic docstrings to stopwatch has_started/stopped methods"
This commit is contained in:
commit
8da9b4022f
@ -516,9 +516,11 @@ class StopWatch(object):
|
||||
return self.elapsed() > self._duration
|
||||
|
||||
def has_started(self):
|
||||
"""Returns True if the watch is in a started state."""
|
||||
return self._state == self._STARTED
|
||||
|
||||
def has_stopped(self):
|
||||
"""Returns True if the watch is in a stopped state."""
|
||||
return self._state == self._STOPPED
|
||||
|
||||
def resume(self):
|
||||
|
Loading…
Reference in New Issue
Block a user