We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a776cf commit b4fabc5Copy full SHA for b4fabc5
mypy/subtypes.py
@@ -471,8 +471,7 @@ def visit_instance(self, left: Instance) -> bool:
471
expanded = expand_type_by_instance(mapped.type.tuple_type, mapped)
472
assert isinstance(expanded, TupleType)
473
if self._is_subtype(
474
- expanded,
475
- right.copy_modified(fallback=expanded.partial_fallback)
+ expanded, right.copy_modified(fallback=expanded.partial_fallback)
476
):
477
return not self.proper_subtype
478
return False
0 commit comments