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 0eaf22d commit e29a7c8Copy full SHA for e29a7c8
pylint/checkers/typecheck.py
@@ -1453,9 +1453,10 @@ def visit_call(self, node: nodes.Call) -> None:
1453
"""Check that called functions/methods are inferred to callable objects,
1454
and that passed arguments match the parameters in the inferred function.
1455
"""
1456
-
1457
called = safe_infer(node.func, compare_constructors=True)
+
1458
self._check_not_callable(node, called)
1459
1460
try:
1461
called, implicit_args, callable_name = _determine_callable(called)
1462
except ValueError:
0 commit comments