Skip to content

Remove typing.AwaitableGenerator from typeshed #8699

Closed
@hauntsaninja

Description

@hauntsaninja

As mentioned in the code, AwaitableGenerator doesn't exist in typing.py or PEP 484.
https://github.com/python/typeshed/blob/626a0f3f7353e484e8a6c5d7a2b3f37e4694e132/stdlib/3/typing.pyi#L208

It appears it's an "intentionally undocumented" implementation detail of mypy, as mentioned in #2907. Ideally, these shouldn't leak into typeshed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-typeshedAnything that blocks a typeshed changetopic-asyncasync, await, asyncio

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions