mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
**test_next.py**: ```python z = (x*2 for x in range(10)) reveal_type(next(z, None)) ``` Before: ```shell test_next.py:2: error: Revealed type is 'builtins.int*' ``` After: ```shell test_next.py:2: error: Revealed type is 'Union[builtins.int*, builtins.None]' ```