Skip to content

Commit 9cd3428

Browse files
authored
[asyncio] Remove redundant overload of asyncio.wait (#15444)
1 parent 0783075 commit 9cd3428

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/asyncio/tasks.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,9 @@ else:
369369
async def wait_for(fut: _FutureLike[_T], timeout: float | None, *, loop: AbstractEventLoop | None = None) -> _T: ...
370370

371371
if sys.version_info >= (3, 11):
372-
@overload
373372
async def wait(
374373
fs: Iterable[_FT], *, timeout: float | None = None, return_when: str = "ALL_COMPLETED"
375374
) -> tuple[set[_FT], set[_FT]]: ...
376-
@overload
377-
async def wait(
378-
fs: Iterable[Task[_T]], *, timeout: float | None = None, return_when: str = "ALL_COMPLETED"
379-
) -> tuple[set[Task[_T]], set[Task[_T]]]: ...
380375

381376
elif sys.version_info >= (3, 10):
382377
@overload

0 commit comments

Comments
 (0)