Skip to content

Commit 96e5579

Browse files
bsolomon1124JelleZijlstra
authored andcommitted
Switch ret. type of asyncio.gather() to list (#7550)
This is a companion commit dependent on the change introduced in typeshed PR 3248: python/typeshed#3248
1 parent cb06463 commit 96e5579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ reveal_type(asyncio.gather(*[asyncio.sleep(1), asyncio.sleep(1)]))
11441144
[out]
11451145
_testAsyncioGatherPreciseType.py:9: note: Revealed type is 'builtins.str'
11461146
_testAsyncioGatherPreciseType.py:10: note: Revealed type is 'builtins.str'
1147-
_testAsyncioGatherPreciseType.py:11: note: Revealed type is 'asyncio.futures.Future[builtins.tuple[Any]]'
1147+
_testAsyncioGatherPreciseType.py:11: note: Revealed type is 'asyncio.futures.Future[builtins.list[Any]]'
11481148

11491149
[case testMultipleInheritanceWorksWithTupleTypeGeneric]
11501150
from typing import SupportsAbs, NamedTuple

0 commit comments

Comments
 (0)