Skip to content

Commit

Permalink
fix "implicit return"
Browse files Browse the repository at this point in the history
  • Loading branch information
Redoubts committed Sep 27, 2024
1 parent 78bf123 commit 0a0b23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio/_timeouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def move_on_after(
)


async def sleep_forever() -> NoReturn:
async def sleep_forever() -> NoReturn: # type: ignore[misc]
"""Pause execution of the current task forever (or until cancelled).
Equivalent to calling ``await sleep(math.inf)``.
Expand Down

0 comments on commit 0a0b23c

Please sign in to comment.