Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3k
Closed as duplicate
Description
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