mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Make type refinement to work with `None in [a, b, c]`

Open eladshoshani opened this issue 1 year ago • 0 comments

Following the bug report, when checking if multiple variables are not None using the syntax None in <some_collection> mypy should be able to refine the types of these variables to non-Optional types after this check.

eladshoshani avatar Apr 22 '24 21:04 eladshoshani