ruff
a00c4455 - Avoid false-positive print separator diagnostic with starred argument (#8079)

Commit
1 year ago
Avoid false-positive print separator diagnostic with starred argument (#8079) Given `print(*a_list_with_elements, sep="\n")`, we can't remove the separator (unlike in `print(a, sep="\n")`), since we don't know how many arguments were provided. Closes https://github.com/astral-sh/ruff/issues/8078.
Author
Parents
Loading