Skip to content

Commit 0fe5f2e

Browse files
committed
Fixed type'o in variable name variables.py
1 parent fb2f253 commit 0fe5f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint/checkers/variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,12 +1336,12 @@ def visit_for(self, node: nodes.For) -> None:
13361336
return
13371337

13381338
else:
1339-
is_stared_targets = any(
1339+
is_starred_targets = any(
13401340
isinstance(target, nodes.Starred) for target in targets
13411341
)
13421342
for value in values:
13431343
value_length = self._get_value_length(value)
1344-
is_valid_star_unpack = is_stared_targets and value_length >= len(
1344+
is_valid_star_unpack = is_starred_targets and value_length >= len(
13451345
targets
13461346
)
13471347
if len(targets) != value_length and not is_valid_star_unpack:

0 commit comments

Comments
 (0)