Agent: Update comment in Timer

This commit is contained in:
Shreya Malviya 2022-04-05 19:07:38 +05:30
parent 60ca543117
commit 8a393e0b03
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ class Timer:
def set(self, timeout_sec: float): def set(self, timeout_sec: float):
""" """
Set a timer Set a timer
:param float timeout_sec: A fractional number of seconds to set the timeout for. :param float timeout_sec: A nonnegative floating point number expressing the number of
seconds to set the timeout for.
""" """
self._timeout_sec = timeout_sec self._timeout_sec = timeout_sec
self._start_time = time.time() self._start_time = time.time()