If the second argument to `isinstance` is a tuple, the inferred type for the first argument should be a union. Example: ``` python x = 1 # type: object if isinstance(x, (int, str)): # type of x is Union[int, str] here ... ```
Activity
JukkaL commentedon Jun 3, 2016
This works now.