Skip to content

Commit

Permalink
Spelling fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
udifuchs committed Dec 24, 2023
1 parent fc6215f commit f9dc6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/checkers/nested_min_max.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_redundant_calls(cls, node: nodes.Call) -> list[nodes.Call]:
and arg.func.name == node.func.name
# Nesting is useful for finding the maximum in a matrix.
# Allow: max(max([[1, 2, 3], [4, 5, 6]]))
# Meaning, redunant call only if parent max call has more than 1 arg.
# Meaning, redundant call only if parent max call has more than 1 arg.
and len(arg.parent.args) > 1
)
]
Expand Down

0 comments on commit f9dc6c8

Please sign in to comment.