Closed
Description
Code:
a = set().union(*[[1],[2],[3]]) # type: Set[int]
Expected:This should work fine
Result:
error: Argument 1 to "union" of "set" has incompatible type *List[List[int]]; expected Iterable[None]
error: Incompatible types in assignment (expression has type Set[None], variable has type Set[int])
I'm fairly new to mypy, so please let me know if this is user error.