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 41ae494 commit 68bd688Copy full SHA for 68bd688
pylint/checkers/typecheck.py
@@ -1490,7 +1490,7 @@ def visit_call(self, node: nodes.Call) -> None:
1490
# super() only takes self.
1491
if self._is_super(node) and utils.is_builtin_object(called):
1492
if (
1493
- (call_site := astroid.arguments.CallSite.from_call(node))
+ call_site
1494
and call_site.positional_arguments
1495
and (first_arg := call_site.positional_arguments[0])
1496
and not (
0 commit comments