Skip to content

Commit 0bc02fb

Browse files
committed
.
1 parent 6731205 commit 0bc02fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mypy/checker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6714,7 +6714,8 @@ def narrow_type_by_identity_equality(
67146714
target = TypeRange(target_type, is_upper_bound=False)
67156715

67166716
if_map, else_map = conditional_types_to_typemaps(
6717-
operands[i], *conditional_types(expr_type, [target], consider_promotion_overlap=True)
6717+
operands[i],
6718+
*conditional_types(expr_type, [target], consider_promotion_overlap=True),
67186719
)
67196720
if is_target_for_value_narrowing(get_proper_type(target_type)):
67206721
all_if_maps.append(if_map)

0 commit comments

Comments
 (0)