Skip to content

mypy incorrectly disallows "yield from ()" #4444

@kamahen

Description

@kamahen

yield from [] is allowed by mypy

yield from () gives:

error: "yield from" can't be applied to "Tuple[]"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions