Skip to content

stubgen: Use Generator[...] instead of Generator[..., None, None] #17669

@srittau

Description

@srittau

Typeshed now uses default of None for the second and third argument to Generator and we've started to change instances of Generator[..., None, None] to just Generator[...]. For readability and consistency, stubgen should do the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions