diff --git a/mypy/join.py b/mypy/join.py index 6bae241a801e..e0d926f3fcf4 100644 --- a/mypy/join.py +++ b/mypy/join.py @@ -29,7 +29,7 @@ def join_instances(self, t: Instance, s: Instance) -> ProperType: self.seen_instances.append((t, s)) - """Calculate the join of two instance types.""" + # Calculate the join of two instance types if t.type == s.type: # Simplest case: join two types with the same base type (but # potentially different arguments).