Skip to content

Commit 44d250a

Browse files
authored
Merge pull request #5368 from ddkasa/patch-2
docs(timer): remove outdated return header in stop method docstring
2 parents fe5b37a + 67ed64e commit 44d250a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/textual/timer.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ def _start(self) -> None:
8585
self._task = create_task(self._run_timer(), name=self.name)
8686

8787
def stop(self) -> None:
88-
"""Stop the timer.
89-
90-
Returns:
91-
A Task object. Await this to wait until the timer has completed.
92-
93-
"""
88+
"""Stop the timer."""
9489
if self._task is None:
9590
return
9691

0 commit comments

Comments
 (0)