mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-09 21:28:21 +00:00
403 B
403 B
Unpacking
Right hand side not iterable
a, b = 1 # error: [not-iterable]
Exactly too many values to unpack
a, b = (1, 2, 3) # error: [invalid-assignment]
Exactly too few values to unpack
a, b = (1,) # error: [invalid-assignment]
Too few values to unpack
[a, *b, c, d] = (1, 2) # error: [invalid-assignment]