Skip to content

Commit 5bb4e9f

Browse files
authored
docs: fix Scheduler.close docstring (#9198)
1 parent 991fda7 commit 5bb4e9f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

distributed/scheduler.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4329,12 +4329,7 @@ async def close(
43294329
timeout: float | None = None,
43304330
reason: str = "unknown",
43314331
) -> None:
4332-
"""Send cleanup signal to all coroutines then wait until finished
4333-
4334-
See Also
4335-
--------
4336-
Scheduler.cleanup
4337-
"""
4332+
"""Send cleanup signal to all coroutines then wait until finished."""
43384333
if self.status in (Status.closing, Status.closed):
43394334
await self.finished()
43404335
return

0 commit comments

Comments
 (0)