From 942b77219ec326996733b9d8b129e519d2a80629 Mon Sep 17 00:00:00 2001 From: Chase Naples Date: Sun, 22 Feb 2026 17:47:51 -0500 Subject: [PATCH] docs: fix Scheduler.close docstring Signed-off-by: Chase Naples --- distributed/scheduler.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/distributed/scheduler.py b/distributed/scheduler.py index d73da7c71fd..00d8e525b56 100644 --- a/distributed/scheduler.py +++ b/distributed/scheduler.py @@ -4329,12 +4329,7 @@ async def close( timeout: float | None = None, reason: str = "unknown", ) -> None: - """Send cleanup signal to all coroutines then wait until finished - - See Also - -------- - Scheduler.cleanup - """ + """Send cleanup signal to all coroutines then wait until finished.""" if self.status in (Status.closing, Status.closed): await self.finished() return