-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change return types of AsyncGenerator's methods to coroutines. This b…
…rings pytype's definition in line with the definition on typeshed and reflects the fact that asynchronous generators defined using the `async def`/`yield` syntax have methods returning coroutines rather than just arbitrary awaitables. PiperOrigin-RevId: 677779617
- Loading branch information
1 parent
3d776e6
commit c44416b
Showing
3 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters