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 2ff8cf1 commit 6757391Copy full SHA for 6757391
mypy/checkexpr.py
@@ -1486,7 +1486,7 @@ def check_call_expr_with_callee_type(
1486
proper_callee = get_proper_type(callee_type)
1487
if isinstance(e.callee, (NameExpr, MemberExpr)):
1488
node = e.callee.node
1489
- if (node is None) and (member is not None) and isinstance(object_type, Instance):
+ if node is None and member is not None and isinstance(object_type, Instance):
1490
for base in object_type.type.mro:
1491
if (symbol := base.names.get(member)) is not None:
1492
node = symbol.node
0 commit comments