mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-27 09:01:26 +08:00
41ba734fc2
**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]' ```