Skip to content

Commit 96e5579

Browse files
bsolomon1124JelleZijlstra
authored andcommitted
Switch ret. type of asyncio.gather() to list (python#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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy