ruff/crates/red_knot_python_semantic/resources/mdtest/diagnostics/unpacking.md

293 B

Unpacking

Right hand side not iterable

a, b = 1  # error: [not-iterable]

Too many values to unpack

a, b = (1, 2, 3)  # error: [invalid-assignment]

Too few values to unpack

a, b = (1,)  # error: [invalid-assignment]