Skip to content

Commit 68bd688

Browse files
committed
call_site already assigned identically only line 1483
1 parent 41ae494 commit 68bd688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/typecheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ def visit_call(self, node: nodes.Call) -> None:
14901490
# super() only takes self.
14911491
if self._is_super(node) and utils.is_builtin_object(called):
14921492
if (
1493-
(call_site := astroid.arguments.CallSite.from_call(node))
1493+
call_site
14941494
and call_site.positional_arguments
14951495
and (first_arg := call_site.positional_arguments[0])
14961496
and not (

0 commit comments

Comments
 (0)