Skip to content

Commit fd33f04

Browse files
authored
Merge branch 'main' into mypy-2.0.0
2 parents e43ad3d + 60dc8f5 commit fd33f04

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Type checkers that we test our stubs against. These should always
22
# be pinned to a specific version to make failure reproducible.
33
mypy==2.0.0
4-
pyright==1.1.408
4+
pyright==1.1.409
55

66
# Libraries used by our various scripts.
77
aiohttp==3.13.5

stdlib/asyncio/tasks.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ ALL_COMPLETED: Final = concurrent.futures.ALL_COMPLETED
8787

8888
if sys.version_info >= (3, 13):
8989
@type_check_only
90-
class _SyncAndAsyncIterator(Iterator[_T_co], AsyncIterator[_T_co], Protocol[_T_co]): ...
90+
class _SyncAndAsyncIterator(Iterator[Coroutine[Any, Any, _T]], AsyncIterator[Future[_T]], Protocol[_T]): ...
9191

92-
def as_completed(fs: Iterable[_FutureLike[_T]], *, timeout: float | None = None) -> _SyncAndAsyncIterator[Future[_T]]: ...
92+
def as_completed(fs: Iterable[_FutureLike[_T]], *, timeout: float | None = None) -> _SyncAndAsyncIterator[_T]: ...
9393

9494
else:
9595
def as_completed(fs: Iterable[_FutureLike[_T]], *, timeout: float | None = None) -> Iterator[Future[_T]]: ...

0 commit comments

Comments
 (0)