Skip to content
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

Change return types of AsyncGenerator's methods to coroutines. This brings 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. #1779

Merged
merged 1 commit into from
Sep 25, 2024

Commits on Sep 25, 2024

  1. 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: 678624460
    Martin Huschenbett authored and copybara-github committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    57f8bd8 View commit details
    Browse the repository at this point in the history