Skip to content

Commit e8d6327

Browse files
committed
Direction doesn't matter
1 parent 9ae2a23 commit e8d6327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def filter_satisfiable(option: list[Constraint] | None) -> list[Constraint] | No
578578

579579
satisfiable = []
580580
for c in option:
581-
if own is not None and c.op == SUPERTYPE_OF and c.type_var not in own:
581+
if own is not None and c.type_var not in own:
582582
continue
583583
if isinstance(c.origin_type_var, TypeVarType) and c.origin_type_var.values:
584584
if any(

0 commit comments

Comments
 (0)