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 c4f2c85Copy full SHA for c4f2c85
pylint/checkers/typecheck.py
@@ -1453,9 +1453,9 @@ 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
try:
1460
called, implicit_args, callable_name = _determine_callable(called)
1461
except ValueError:
0 commit comments