From 1f2c21d9e935405bf53ba7d2cbd155c4cdd30915 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 02:37:18 +0000 Subject: [PATCH] Add `asyncio.staggered.__all__` (#7274) --- stdlib/asyncio/staggered.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/asyncio/staggered.pyi b/stdlib/asyncio/staggered.pyi index d5b9156a1..fc4bfad76 100644 --- a/stdlib/asyncio/staggered.pyi +++ b/stdlib/asyncio/staggered.pyi @@ -2,6 +2,8 @@ from typing import Any, Awaitable, Callable, Iterable from . import events +__all__ = ("staggered_race",) + async def staggered_race( coro_fns: Iterable[Callable[[], Awaitable[Any]]], delay: float | None, *, loop: events.AbstractEventLoop | None = ... ) -> tuple[Any, int | None, list[Exception | None]]: ...