Skip to content

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

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

Closed
srittau opened this issue Aug 13, 2024 · 0 comments · Fixed by #17670
Closed

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

srittau opened this issue Aug 13, 2024 · 0 comments · Fixed by #17670
Labels

Comments

@srittau
Copy link
Contributor

srittau commented Aug 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant