From 67ed64e9924dd3abfa62ae5448043fa47e52b2a4 Mon Sep 17 00:00:00 2001 From: David Kasakaitis Date: Mon, 9 Dec 2024 16:26:11 +0000 Subject: [PATCH] docs(timer): remove outdated return header in stop method docstring --- src/textual/timer.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/textual/timer.py b/src/textual/timer.py index 2470453c29..60053161b1 100644 --- a/src/textual/timer.py +++ b/src/textual/timer.py @@ -85,12 +85,7 @@ def _start(self) -> None: self._task = create_task(self._run_timer(), name=self.name) def stop(self) -> None: - """Stop the timer. - - Returns: - A Task object. Await this to wait until the timer has completed. - - """ + """Stop the timer.""" if self._task is None: return