To Reproduce
fromtypingimportIterabledefprod[T](iter1: Iterable[T]) ->Iterable[tuple[T]]:
return ((x,) forxiniter1)
x: list[str] = ["a", "b", "c"]
prod([None] +x) # false positive [operator]
https://mypy-play.net/?mypy=master&python=3.12&gist=390f48f0541325d872d9cb419e3a5f20
To Reproduce
https://mypy-play.net/?mypy=master&python=3.12&gist=390f48f0541325d872d9cb419e3a5f20