Skip to content

Commit 0e1776a

Browse files
committed
Fix mypy error in new code
1 parent 8264f8d commit 0e1776a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/checker.py

+2
Original file line numberDiff line numberDiff line change
@@ -4003,6 +4003,8 @@ def find_isinstance_check_helper(self, node: Expression) -> Tuple[TypeMap, TypeM
40034003
vartype = type_map[expr]
40044004
return self.conditional_callable_type_map(expr, vartype)
40054005
else:
4006+
# if isinstance(node.callee, RefExpr) and node.callee.node is None:
4007+
# node.callee.node = self.expr_checker.accept(node.callee)
40064008
if (isinstance(node.callee, RefExpr)
40074009
and isinstance(node.callee.node, SYMBOL_FUNCBASE_TYPES)
40084010
and isinstance(node.callee.node.type, CallableType)

0 commit comments

Comments
 (0)