Skip to content

Commit

Permalink
Merge pull request #5368 from ddkasa/patch-2
Browse files Browse the repository at this point in the history
docs(timer): remove outdated return header in stop method docstring
  • Loading branch information
willmcgugan authored Dec 9, 2024
2 parents fe5b37a + 67ed64e commit 44d250a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/textual/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 44d250a

Please sign in to comment.