Skip to content

Commit 4323ed7

Browse files
committed
Final cleanup
1 parent 4710651 commit 4323ed7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2771,7 +2771,7 @@ def check_multiple_inheritance(self, typ: TypeInfo) -> None:
27712771
continue
27722772
if name in seen_names:
27732773
continue
2774-
for j, base2 in enumerate(typed_mro[i + 1 :], i + 1):
2774+
for base2 in typed_mro[i + 1 :]:
27752775
# We only need to check compatibility of attributes from classes not
27762776
# in a subclass relationship. For subclasses, normal (single inheritance)
27772777
# checks suffice (these are implemented elsewhere).

mypy/checkexpr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ def module_type(self, node: MypyFile) -> Instance:
462462
continue
463463
if isinstance(n.node, Var) and n.node.is_final:
464464
immutable.add(name)
465-
466465
typ = self.chk.determine_type_of_member(n)
467466
if typ:
468467
module_attrs[name] = typ

0 commit comments

Comments
 (0)