Closed gvanrossum closed 6 years ago
This is not entirely satisfying, since a generator that yields a succession of ints and strs will be typed as Union[Iterator[str], Iterator[int]] rather than as Iterator[Union[int, str]].
Fixes #56
This is not entirely satisfying, since a generator that yields a succession of ints and strs will be typed as Union[Iterator[str], Iterator[int]] rather than as Iterator[Union[int, str]].
Fixes #56