Skip to content

Commit aed1964

Browse files
committed
Add 3-argument overload for asyncio.gather.
1 parent 78587dc commit aed1964

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/3.4/asyncio/tasks.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ def gather(coro_or_future1: _FutureT[_T1],
3131
def gather(coro_or_future1: _FutureT[_T1], coro_or_future2: _FutureT[_T2],
3232
*, loop: AbstractEventLoop = ..., return_exceptions: bool = False) -> Future[Tuple[_T1, _T2]]: ...
3333
@overload
34+
def gather(coro_or_future1: _FutureT[_T1], coro_or_future2: _FutureT[_T2], coro_or_future3: _FutureT[_T3],
35+
*, loop: AbstractEventLoop = ..., return_exceptions: bool = False) -> Future[Tuple[_T1, _T2. _T3]]: ...
36+
@overload
3437
def gather(coro_or_future1: _FutureT[_T1], coro_or_future2: _FutureT[_T2], coro_or_future3: _FutureT[_T3],
3538
coro_or_future4: _FutureT[_T4],
3639
*, loop: AbstractEventLoop = ..., return_exceptions: bool = False) -> Future[Tuple[_T1, _T2, _T3, _T4]]: ...

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