stubgen: Use Generator[...]
instead of Generator[..., None, None]
#17669
Labels
Generator[...]
instead of Generator[..., None, None]
#17669
Typeshed now uses default of
None
for the second and third argument toGenerator
and we've started to change instances ofGenerator[..., None, None]
to justGenerator[...]
. For readability and consistency, stubgen should do the same.The text was updated successfully, but these errors were encountered: