8000 Improve `gather` typing when coros more than 5 by mnixry · Pull Request #9105 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Improve gather typing when coros more than 5 #9105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Improve gather typing when coros more than 5
  • Loading branch information
mnixry authored Nov 5, 2022
commit acda1d7c0f7a0efde948c993e82c6fbd65b2619a
4 changes: 2 additions & 2 deletions stdlib/asyncio/tasks.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ else:
]: ...
@overload
def gather( # type: ignore[misc]
*coros_or_futures: _FutureLike[Any], loop: AbstractEventLoop | None = ..., return_exceptions: bool = ...
) -> Future[list[Any]]: ...
*coros_or_futures: _FutureLike[_T], loop: AbstractEventLoop | None = ..., return_exceptions: bool = ...
) -> Future[list[_T]]: ...

def run_coroutine_threadsafe(coro: _FutureLike[_T], loop: AbstractEventLoop) -> concurrent.futures.Future[_T]: ...

Expand Down
0