docstrings

This commit is contained in:
Will McGugan
2022-05-04 11:07:30 +01:00
parent fa664d36e7
commit d7617dbd3e

View File

@@ -88,11 +88,11 @@ class Timer:
return self._task
def stop_no_wait(self) -> None:
"""Stop the timer, and block until it exists."""
"""Stop the timer."""
self._task.cancel()
async def stop(self) -> None:
"""Stop the timer, and block until it exists."""
"""Stop the timer, and block until it exits."""
self._task.cancel()
await self._task