Skip to content

Commit 6757391

Browse files
committed
less brackets
1 parent 2ff8cf1 commit 6757391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ def check_call_expr_with_callee_type(
14861486
proper_callee = get_proper_type(callee_type)
14871487
if isinstance(e.callee, (NameExpr, MemberExpr)):
14881488
node = e.callee.node
1489-
if (node is None) and (member is not None) and isinstance(object_type, Instance):
1489+
if node is None and member is not None and isinstance(object_type, Instance):
14901490
for base in object_type.type.mro:
14911491
if (symbol := base.names.get(member)) is not None:
14921492
node = symbol.node

0 commit comments

Comments
 (0)