<!-- If you're not sure whether what you're experiencing is a mypy bug, please see the "Question and Help" form instead. Please consider: - checking our common issues page: https://mypy.readthedocs.io/en/stable/common_issues.html - searching our issue tracker: https://github.com/python/mypy/issues to see if it's already been reported - asking on gitter chat: https://gitter.im/python/typing --> **To Reproduce** ```python from typing import Iterable def prod[T](iter1: Iterable[T]) -> Iterable[tuple[T]]: return ((x,) for x in iter1) x: list[str] = ["a", "b", "c"] prod([None] + x) # false positive [operator] ``` https://mypy-play.net/?mypy=master&python=3.12&gist=390f48f0541325d872d9cb419e3a5f20